< prev index next >
src/hotspot/share/opto/compile.cpp
Print this page
rev 48394 : [RFC] MachSpillCopy peephole
Enable OptoPeephole by default on AArch64.
Add manually defined peephole() method for MachSpillCopy node.
*** 2424,2440 ****
cfg.set_loop_alignment();
}
cfg.fixup_flow();
}
// Apply peephole optimizations
if( OptoPeephole ) {
TracePhase tp("peephole", &timers[_t_peephole]);
PhasePeephole peep( _regalloc, cfg);
peep.do_transform();
}
!
// Do late expand if CPU requires this.
if (Matcher::require_postalloc_expand) {
TracePhase tp("postalloc_expand", &timers[_t_postalloc_expand]);
cfg.postalloc_expand(_regalloc);
}
--- 2424,2441 ----
cfg.set_loop_alignment();
}
cfg.fixup_flow();
}
+ #if 0
// Apply peephole optimizations
if( OptoPeephole ) {
TracePhase tp("peephole", &timers[_t_peephole]);
PhasePeephole peep( _regalloc, cfg);
peep.do_transform();
}
! #endif
// Do late expand if CPU requires this.
if (Matcher::require_postalloc_expand) {
TracePhase tp("postalloc_expand", &timers[_t_postalloc_expand]);
cfg.postalloc_expand(_regalloc);
}
< prev index next >