Commit 06f74c05 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

ifconv must remove bads first

Fixes C/unkept_loop.c
parent 402fb094
......@@ -477,6 +477,8 @@ void opt_if_conv(ir_graph *irg)
DB((dbg, LEVEL_1, "Running if-conversion on %+F\n", irg));
env.changed |= remove_bads(irg);
normalize_one_return(irg);
remove_critical_cf_edges(irg);
......
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