Commit 3debaa81 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

fix opt/jumpthreading7

parent 64a05bd2
......@@ -716,6 +716,10 @@ static void thread_jumps(ir_node* block, void* data)
if (copy_block == NULL)
/* We might thread the condition block of an infinite loop,
* such that there is no path to End anymore. */
/* we have to remove the edge towards the pred as the pred now
* jumps into the true_block. We also have to shorten Phis
* in our block because of this */
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