RFR: 8335709: C2: assert(!loop->is_member(get_loop(useblock))) failed: must be outside loop [v2]

Tobias Hartmann thartmann at openjdk.org
Fri Jul 19 07:28:33 UTC 2024


On Thu, 18 Jul 2024 11:34:14 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>> When a `NeverBranch` is added to an infinite loop, the `NeverBanch`
>> and its projection that branches in the loop are assigned to the wrong
>> loop. The confuses the logic that tries to sink nodes out of loop.
>
> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update test/hotspot/jtreg/compiler/loopopts/InfiniteLoopBadControlNeverBranch.java
>   
>   Co-authored-by: Tobias Hartmann <tobias.hartmann at oracle.com>

All tests passed.

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

PR Comment: https://git.openjdk.org/jdk/pull/20231#issuecomment-2238544373


More information about the hotspot-compiler-dev mailing list