Commit 77402d90 authored by Michael Beck's avatar Michael Beck
Browse files

used new set_irg_doms_inconsistent() to invalidate dom and postdom

[r7208]
parent 1986754f
......@@ -87,7 +87,7 @@ unsigned lower_intrinsic_calls(const i_record *list, int length) {
set_irg_callee_info_state(irg, irg_callee_info_inconsistent);
/* exception control flow might have changed */
set_irg_dom_inconsistent(irg);
set_irg_doms_inconsistent(irg);
set_irg_loopinfo_inconsistent(irg);
nr_of_intrinsics += wenv.nr_of_intrinsics;
......
......@@ -615,8 +615,7 @@ void optimize_cf(ir_graph *irg) {
assert(get_irg_phase_state(irg) != phase_building);
if (get_irg_outs_state(current_ir_graph) == outs_consistent)
set_irg_outs_inconsistent(current_ir_graph);
if (get_irg_dom_state(current_ir_graph) == dom_consistent)
set_irg_dom_inconsistent(current_ir_graph);
set_irg_doms_inconsistent(current_ir_graph);
if (dom_state == dom_consistent && get_opt_optimize() && get_opt_unreachable_code()) {
ir_node *end = get_irg_end(irg);
......
......@@ -350,7 +350,7 @@ static void transform_allocs(ir_graph *irg, walk_env_t *env)
set_irg_outs_inconsistent(irg);
if (env->nr_deads)
set_irg_dom_inconsistent(irg);
set_irg_doms_inconsistent(irg);
}
}
......
......@@ -961,7 +961,7 @@ void optimize_loop_unrolling(ir_graph *irg /* unroll factor, max body size */)
if (unroll_done) {
/* unrolling was done, all info is invalid */
set_irg_dom_inconsistent(irg);
set_irg_doms_inconsistent(irg);
set_irg_outs_inconsistent(irg);
set_irg_loopinfo_state(current_ir_graph, loopinfo_cf_inconsistent);
set_trouts_inconsistent();
......
......@@ -121,7 +121,7 @@ void normalize_one_return(ir_graph *irg)
* a new Block was added, so dominator, outs and loop are inconsistent,
* trouts and callee-state should be still valid
*/
set_irg_dom_inconsistent(irg);
set_irg_doms_inconsistent(irg);
set_irg_outs_inconsistent(irg);
set_irg_loopinfo_state(current_ir_graph, loopinfo_cf_inconsistent);
}
......@@ -320,7 +320,7 @@ void normalize_n_returns(ir_graph *irg)
* Blocks become dead and new Returns were deleted, so dominator, outs and loop are inconsistent,
* trouts and callee-state should be still valid
*/
set_irg_dom_inconsistent(irg);
set_irg_doms_inconsistent(irg);
set_irg_outs_inconsistent(irg);
set_irg_loopinfo_state(current_ir_graph, loopinfo_cf_inconsistent);
}
Supports Markdown
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