Commit 4ff2ba7a authored by Christian Würdig's avatar Christian Würdig
Browse files

exchange Perm-Proj, instead of rerouting

parent 27570c7e
......@@ -338,8 +338,9 @@ static void lower_perm_node(ir_node *irn, void *walk_env) {
sched_remove(pairs[i].out_node);
/* reroute the edges from the proj to the argument */
edges_reroute(pairs[i].out_node, pairs[i].in_node, env->birg->irg);
set_irn_n(pairs[i].out_node, 0, new_Bad());
exchange(pairs[i].out_node, pairs[i].in_node);
//edges_reroute(pairs[i].out_node, pairs[i].in_node, env->birg->irg);
//set_irn_n(pairs[i].out_node, 0, new_Bad());
pairs[i].checked = 1;
}
......
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