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

Revert "beschednormal: schedule IncSP as late as possible to enable more ia32 Push/Pop peepholes"

This hack had many unwanted effects where nodes following the IncSP were
unnecessary delayed for a long time. We should rather improve the ia32
Push/Pop peephole optimizations.
parent 3e414414
......@@ -290,10 +290,6 @@ static void real_sched_block(ir_node *block, void *data)
* anyway. */
for (int i = ARR_LEN(sched); i-- > 0; ) {
ir_node *irn = sched[i];
/* exclude IncSP so they are scheduled late, this is often benefitial
* for the ia32 IncSP -> Push/Pop peephole optimization */
if (be_is_IncSP(irn))
set_irn_link(irn, first);
first = irn;
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