Commit d7bb7d67 authored by Matthias Braun's avatar Matthias Braun
Browse files

only perform localopts in convopt if something changed

(This also fixes occult3.c as calling localopts changed the graph in
 this case with the conv phase still confirming all irg properties)
parent 74af1321
......@@ -283,7 +283,8 @@ void conv_opt(ir_graph *irg)
do {
changed = false;
irg_walk_graph(irg, NULL, conv_opt_walker, &changed);
if (changed)
global_changed |= changed;
} while (changed);
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