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

do not push perm instructions before schedule_first instructions

parent 8c5eaa3b
......@@ -730,7 +730,7 @@ static int push_through_perm(ir_node *perm)
* the Perm, increasing the register pressure by one.
sched_foreach_reverse_before(perm, irn) {
if (is_Phi(irn)) {
if (is_Phi(irn) || arch_irn_is(irn, schedule_first)) {
frontier = irn;
goto found_front;
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