RFR: 8374078: C2_MacroAssembler::verify_int_in_range has incorrect early return condition
Vladimir Kozlov
kvn at openjdk.org
Fri Dec 19 17:44:04 UTC 2025
On Fri, 19 Dec 2025 04:00:31 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
> Hi,
>
> This PR fixes the incorrect early return condition in `C2_MacroAssembler::verify_int_in_range`. Previously, `lo == min_jint && hi == max_jint` is equivalent to `t == Type::INT`. But this is not true anymore.
>
> Please take a look and leave your reviews, thanks a lot.
Can this be new Type's check functions with comments explaining why `t == Type::INT` is not true any more?
-------------
PR Review: https://git.openjdk.org/jdk/pull/28916#pullrequestreview-3599488657
More information about the hotspot-compiler-dev
mailing list