opt_diff fuzz: test convert_to_max_ssa as well

This commit is contained in:
Chris Fallin 2023-02-24 22:06:40 -08:00
parent fb719ff0d0
commit 8d0067ef14

View file

@ -49,6 +49,7 @@ fuzz_target!(
let mut opt_module = parsed_module.clone(); let mut opt_module = parsed_module.clone();
opt_module.per_func_body(|body| body.optimize()); 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(); let mut opt_ctx = InterpContext::new(&opt_module).unwrap();
// Allow a little leeway for opts to not actually optimize. // Allow a little leeway for opts to not actually optimize.