and other branch usage fix
Christopher Li
maintainerRFC PATCH 3/4 and other branch usage fix
Remove dead branch from usage chain.
Branch like the following will get simplify and removed. But the usage information is not updated.
br %c, 0x10, 0x10
Singed-off-by Christopher Li <[email protected]>
flow.c +1 -1
@@ -987,7 +987,7 @@ out:replace_bb_in_list (&child->parents, bb, parent,0 ); }END_FOR_EACH_PTR (child); -delete_last_instruction (&parent->insns); +kill_instruction (delete_last_instruction (&parent->insns)); FOR_EACH_PTR(bb->insns, insn) {if (insn->bb) {assert (insn->bb == bb);