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

Dean Long dlong at openjdk.org
Thu Jan 22 07:57:58 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

Looks good.

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

Marked as reviewed by dlong (Reviewer).

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


More information about the hotspot-compiler-dev mailing list