RFR: 8354383: C2: enable sinking of Type nodes out of loop [v3]

Christian Hagedorn chagedorn at openjdk.org
Tue Jun 10 08:11:30 UTC 2025


On Mon, 26 May 2025 08:36:37 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>> `PhaseIdealLoop::try_sink_out_of_loop()` excludes `Type` nodes because
>> we ran into some issues where a `Type` node is sunk and then becomes
>> `top` but the control path of its uses doesn't become unreachable.
>> 
>> 8349479 should have fixed that so that exception no longer makes
>> sense.
>
> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update src/hotspot/share/opto/loopopts.cpp
>   
>   Co-authored-by: Christian Hagedorn <christian.hagedorn at oracle.com>

Marked as reviewed by chagedorn (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25396#pullrequestreview-2912440249


More information about the hotspot-compiler-dev mailing list