Skip to content

Commit

Permalink
8333434: IGV: Print loop node for PHASE_BEFORE/AFTER_CLOOPS
Browse files Browse the repository at this point in the history
Reviewed-by: thartmann, rcastanedalo
  • Loading branch information
chhagedorn committed Jun 3, 2024
1 parent 27af19d commit 1f9e629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/opto/loopnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@ bool PhaseIdealLoop::is_counted_loop(Node* x, IdealLoopTree*&loop, BasicType iv_
}

assert(x->Opcode() == Op_Loop || x->Opcode() == Op_LongCountedLoop, "regular loops only");
C->print_method(PHASE_BEFORE_CLOOPS, 3);
C->print_method(PHASE_BEFORE_CLOOPS, 3, x);

// ===================================================
// We can only convert this loop to a counted loop if we can guarantee that the iv phi will never overflow at runtime.
Expand Down Expand Up @@ -2289,7 +2289,7 @@ bool PhaseIdealLoop::is_counted_loop(Node* x, IdealLoopTree*&loop, BasicType iv_
}
#endif

C->print_method(PHASE_AFTER_CLOOPS, 3);
C->print_method(PHASE_AFTER_CLOOPS, 3, l);

// Capture bounds of the loop in the induction variable Phi before
// subsequent transformation (iteration splitting) obscures the
Expand Down

1 comment on commit 1f9e629

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.