RFR: 8353290: C2: Refactor PhaseIdealLoop::is_counted_loop() [v17]

Kangcheng Xu kxu at openjdk.org
Wed Nov 12 14:31:47 UTC 2025


On Mon, 27 Oct 2025 13:43:55 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> Kangcheng Xu has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   mark LoopExitTest::is_valid_with_bt() const
>
> src/hotspot/share/opto/loopnode.hpp line 277:
> 
>> 275: 
>> 276:   // Match increment with optional truncation
>> 277:   class TruncatedIncrement {
> 
> You could move this code down to the other loop structure classes.

Moved to `CountedLoopConverter`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24458#discussion_r2518519238


More information about the hotspot-compiler-dev mailing list