Questionable change: Remove domtree generation from simple_preopt testing.
This commit is contained in:
committed by
Benjamin Bouvier
parent
89a2dd9414
commit
861ef3a2e5
@@ -33,11 +33,10 @@ impl SubTest for TestSimplePreopt {
|
||||
let mut comp_ctx = cranelift_codegen::Context::for_function(func.into_owned());
|
||||
let isa = context.isa.expect("preopt needs an ISA");
|
||||
|
||||
comp_ctx.flowgraph();
|
||||
comp_ctx.compute_cfg();
|
||||
comp_ctx
|
||||
.preopt(isa)
|
||||
.map_err(|e| pretty_error(&comp_ctx.func, context.isa, Into::into(e)))?;
|
||||
|
||||
let text = &comp_ctx.func.display(isa).to_string();
|
||||
run_filecheck(&text, context)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user