RFR: 8375618: Incorrect assert in CastLLNode::Ideal [v3]

Christian Hagedorn chagedorn at openjdk.org
Wed Jan 21 14:49:20 UTC 2026


On Wed, 21 Jan 2026 14:25:59 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

>> Hi,
>> 
>> This PR fixes the incorrect assert in `CastLLNode::Ideal`. The assert intends to verify that the output is either a proper subset of or the same as the input. It does so by checking the signed lower bound and signed upper bound of the `TypeLong` instances. This method is not correct now.
>> 
>> Please kindly review, thanks a lot.
>
> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Rename for understandability

Thanks for the update!

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

Marked as reviewed by chagedorn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29304#pullrequestreview-3687642614


More information about the hotspot-compiler-dev mailing list