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

Handle unoptimized end block smoothly.

Allow Bad predecessors of the end block. These are typically artifacts
of non-optimized control flow.
parent f3dd92c4
......@@ -2190,6 +2190,8 @@ static void do_dfs(ir_graph *irg, loop_env *env)
dfs(get_Raise_mem(pred), env);
else if (is_fragile_op(pred))
dfs(get_fragile_op_mem(pred), env);
else if (is_Bad(pred))
/* ignore non-optimized block predecessor */;
else {
assert(0 && "Unknown EndBlock predecessor");
}
......
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