RFR: 8347555: [REDO] C2: implement optimization for series of Add of unique value [v4]
Kangcheng Xu
kxu at openjdk.org
Fri Feb 28 18:00:14 UTC 2025
On Fri, 28 Feb 2025 09:52:06 GMT, Roland Westrelin <roland at openjdk.org> wrote:
>> Kangcheng Xu has updated the pull request incrementally with one additional commit since the last revision:
>>
>> update license header year
>
> src/hotspot/share/opto/addnode.cpp line 524:
>
>> 522: }
>> 523:
>> 524: lhs_multiplier = bt == T_INT
>
> Why isn't it: `java_shift_left(1, con->get_int(), bt)` ?
You're absolutely right. Sorry, that was a very naive oversight.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23506#discussion_r1975820086
More information about the hotspot-compiler-dev
mailing list