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

don't rewire keep_alive edges as they often violate SSA dominance properties

[r26788]
parent bc350520
......@@ -372,11 +372,11 @@ void be_ssa_construction_fix_users_array(be_ssa_construction_env_t *env,
if(env->ignore_uses != NULL &&
ir_nodeset_contains(env->ignore_uses, use))
continue;
if(is_Anchor(use))
if(is_Anchor(use) || is_End(use))
continue;
if(is_Phi(use)) {
ir_node *block = get_nodes_block(use);
ir_node *block = get_nodes_block(use);
ir_node *predblock = get_Block_cfgpred_block(block, pos);
at = sched_last(predblock);
}
......
Supports Markdown
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