From 8d0067ef142e85ca709b3981b40790e2ac4c43da Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Fri, 24 Feb 2023 22:06:40 -0800 Subject: [PATCH] opt_diff fuzz: test convert_to_max_ssa as well --- fuzz/fuzz_targets/opt_diff.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzz/fuzz_targets/opt_diff.rs b/fuzz/fuzz_targets/opt_diff.rs index daf1bff..d910e17 100644 --- a/fuzz/fuzz_targets/opt_diff.rs +++ b/fuzz/fuzz_targets/opt_diff.rs @@ -49,6 +49,7 @@ fuzz_target!( let mut opt_module = parsed_module.clone(); opt_module.per_func_body(|body| body.optimize()); + opt_module.per_func_body(|body| body.convert_to_max_ssa()); let mut opt_ctx = InterpContext::new(&opt_module).unwrap(); // Allow a little leeway for opts to not actually optimize.