RFR: 8328528: C2 should optimize long-typed parallel iv in an int counted loop [v23]

Tobias Hartmann thartmann at openjdk.org
Fri Oct 18 08:22:52 UTC 2024


On Wed, 16 Oct 2024 15:18:52 GMT, Kangcheng Xu <kxu at openjdk.org> wrote:

>> Currently, parallel iv optimization only happens in an int counted loop with int-typed parallel iv's. This PR adds support for long-typed iv to be optimized. 
>> 
>> Additionally, this ticket contributes to the resolution of [JDK-8275913](https://bugs.openjdk.org/browse/JDK-8275913). Meanwhile, I'm working on adding support for parallel IV replacement for long counted loops which will depend on this PR.
>
> Kangcheng Xu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   requires c2 enabled for IR tests

Looks good to me.

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

Marked as reviewed by thartmann (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18489#pullrequestreview-2377370387


More information about the hotspot-compiler-dev mailing list