RFR: 8373524: C2: no reachable node should have no use [v3]
Christian Hagedorn
chagedorn at openjdk.org
Fri Dec 19 08:19:35 UTC 2025
On Wed, 17 Dec 2025 14:16:29 GMT, Roland Westrelin <roland at openjdk.org> wrote:
>> The failure occurs because `PhiNode::Ideal` uses `set_req` to update
>> an input of a `Phi`. That causes the previous input to be disconnected
>> but because of the use of `set_req`, the previous input that has no
>> use is not enqueued for `igvn` to be reclaimed. The fix is to use
>> `set_req_X` instead. I replaced uses of `set_req` with `set_req_X` in
>> `PhiNode::Ideal` where I thought it made sense.
>
> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
>
> review
Update looks good, thanks!
-------------
Marked as reviewed by chagedorn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28841#pullrequestreview-3597482122
More information about the hotspot-compiler-dev
mailing list