Commit 1b9ce672 authored by yb9976's avatar yb9976
Browse files

Jump threading: Copy PhiM loop flag.

This fixes opt/fehler265.c.
parent 913130f9
......@@ -322,7 +322,9 @@ static void copy_and_fix(const jumpthreading_env_t *env, ir_node *block,
ir_node *copy = get_irn_link(keep);
if (is_Phi(keep) && is_Phi(copy)) {
assert(get_irn_mode(keep) == mode_M);
add_End_keepalive(end, copy);
set_Phi_loop(copy, true);
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