RFR: 8345485: C2 MergeLoads: merge adjacent array/native memory loads into larger load [v4]
Emanuel Peter
epeter at openjdk.org
Tue Mar 18 09:05:17 UTC 2025
On Tue, 18 Mar 2025 08:54:14 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> kuaiwei has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Revert extract value and add more tests
>
> src/hotspot/share/opto/memnode.cpp line 1979:
>
>> 1977: return l->unique_out();
>> 1978: } else {
>> 1979: return (Node*)l;
>
> Hmm, I don't like casting away `const`... is there a way to avoid this?
Could the output pointer be `const`?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24023#discussion_r2000515583
More information about the hotspot-compiler-dev
mailing list