mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8231291: C2: loop opts before EA should maximally unroll loops
Reviewed-by: kvn, vlivanov
This commit is contained in:
parent
1745ae28b9
commit
1af059d4cb
4 changed files with 74 additions and 13 deletions
|
@ -2292,7 +2292,7 @@ void Compile::Optimize() {
|
|||
if (has_loops()) {
|
||||
// Cleanup graph (remove dead nodes).
|
||||
TracePhase tp("idealLoop", &timers[_t_idealLoop]);
|
||||
PhaseIdealLoop::optimize(igvn, LoopOptsNone);
|
||||
PhaseIdealLoop::optimize(igvn, LoopOptsMaxUnroll);
|
||||
if (major_progress()) print_method(PHASE_PHASEIDEAL_BEFORE_EA, 2);
|
||||
if (failing()) return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue