Update usage chain for dead instruction.
Christopher Li
maintainerPATCH 1/1 Update usage chain for dead instruction.
Branch like that:
br %c, 0x10, 0x10
Will be simplify and removed. But the usage information is not updated.
Signed-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);
Quoted 4 lines · Christopher Li
Branch like that:
br %c,0x10,0x10Will be simplify and removed. But the usage information is not updated.
Merged.
- Josh Triplett