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

Kangcheng Xu kxu at openjdk.org
Wed Oct 2 19:57:56 UTC 2024


On Wed, 2 Oct 2024 11:18:52 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> Kangcheng Xu has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   update comments in TestParallelIvInIntCountedLoop.java
>
> test/hotspot/jtreg/compiler/loopopts/parallel_iv/TestParallelIvInIntCountedLoop.java line 315:
> 
>> 313:         }
>> 314: 
>> 315:         return a;
> 
> Shouldn't there also be tests for the `int a` `long i` variant?

`long i` will be it a long-counted loop, which hs doesn't perform parallel iv at this time.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18489#discussion_r1785147608


More information about the hotspot-compiler-dev mailing list