Integrated: 8375618: Incorrect assert in CastLLNode::Ideal

Quan Anh Mai qamai at openjdk.org
Thu Jan 22 08:35:26 UTC 2026


On Mon, 19 Jan 2026 17:00:39 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.

This pull request has now been integrated.

Changeset: 92236ead
Author:    Quan Anh Mai <qamai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/92236ead1dea813cf456855f0aa6b73c16e9dc70
Stats:     90 lines in 4 files changed: 87 ins; 0 del; 3 mod

8375618: Incorrect assert in CastLLNode::Ideal

Reviewed-by: chagedorn, dlong

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

PR: https://git.openjdk.org/jdk/pull/29304


More information about the hotspot-compiler-dev mailing list