Legalize brz.i128 and brnz.i128

This commit is contained in:
bjorn3
2019-06-29 16:38:53 +02:00
committed by Dan Gohman
parent 83ac6dd4d4
commit 762b5e494b
3 changed files with 54 additions and 1 deletions

View File

@@ -415,6 +415,11 @@ fn gen_transform<'a>(
fmt.line("let removed = pos.remove_inst();");
fmt.line("debug_assert_eq!(removed, inst);");
}
if transform.def_pool.get(transform.src).apply.inst.is_branch {
fmt.line("cfg.recompute_ebb(pos.func, pos.current_ebb().unwrap());");
}
fmt.line("return true;");
});
fmt.line("}");