RFR: 8328107: Shenandoah/C2: TestVerifyLoopOptimizations test failure

Aleksey Shipilev shade at openjdk.org
Mon Jun 3 08:25:01 UTC 2024


On Thu, 16 May 2024 07:37:46 GMT, Roland Westrelin <roland at openjdk.org> wrote:

> The failure occurs because a load barrier is expanded on the backedge
> of the counted loop. That breaks the expected counted loop shape. The
> fix I propose is to replace the `CountedLoop` with a `Loop` node when
> that happens. We're basically done with optimizations related to
> counted loop at this point so this shouldn't make a difference.

This looks reasonable, thanks. Passes all the tests I throw at it.

-------------

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19259#pullrequestreview-2093136958


More information about the hotspot-compiler-dev mailing list