RFR: 8374078: C2_MacroAssembler::verify_int_in_range has incorrect early return condition [v2]
Vladimir Kozlov
kvn at openjdk.org
Sun Dec 21 01:57:14 UTC 2025
On Sat, 20 Dec 2025 03:11:40 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.
>
> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
>
> refactor
I prefer this last version.
-------------
Marked as reviewed by kvn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28916#pullrequestreview-3601415870
More information about the hotspot-compiler-dev
mailing list