Commit 952a6df7 by Richard Earnshaw Committed by Richard Earnshaw

ifcvt.c (find_if_case_1): If we add a new bb, update the dominance information.

* ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
information.

From-SVN: r64618
parent b4e46cea
2003-03-20 Richard Earnshaw <rearnsha@arm.com>
* ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
information.
2003-03-20 Per Bothner <pbothner@apple.com>
Various cleanups to help compile server.
......
......@@ -2741,6 +2741,8 @@ find_if_case_1 (test_bb, then_edge, else_edge)
{
new_bb->index = then_bb_index;
BASIC_BLOCK (then_bb_index) = new_bb;
if (post_dominators)
add_to_dominance_info (post_dominators, new_bb);
}
/* We've possibly created jump to next insn, cleanup_cfg will solve that
later. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment