RFR: 8328107: Shenandoah/C2: TestVerifyLoopOptimizations test failure
Roland Westrelin
roland at openjdk.org
Fri Jun 14 13:53:21 UTC 2024
On Mon, 3 Jun 2024 08:22:51 GMT, Aleksey Shipilev <shade 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.
@shipilev thanks for the review.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19259#issuecomment-2168097095
More information about the hotspot-compiler-dev
mailing list