Commit cd3ddec9 authored by Michael Beck's avatar Michael Beck
Browse files

Remove kept Bad AFTER dead blocks are deleted to ensure no Bad ist kept.

parent e89d2463
......@@ -326,15 +326,15 @@ int optimize_graph_df(ir_graph *irg)
if (! state)
if (remove_Bads(irg)) {
/* Finally kill BAD and doublets from the keep alives.
Doing this AFTER edges where deactivated saves cycles */
end = get_irg_end(irg);
if (remove_Bads(irg)) {
clear_irg_state(irg, IR_GRAPH_STATE_BAD_BLOCK);
current_ir_graph = rem;
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