Commit 3a364a42 authored by Matthias Braun's avatar Matthias Braun
Browse files

jumpthreading SSA reconstruction must add keepalive edges to PhiM nodes

parent a544bbfe
......@@ -112,6 +112,9 @@ static ir_node *search_def_and_create_phis(ir_node *block, ir_mode *mode,
set_irn_n(phi, i, pred_val);
/* we might have created a potential endless loop, so keep the Phi */
if (get_irn_mode(phi) == mode_M)
return phi;
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