RFR: 8347555: [REDO] C2: implement optimization for series of Add of unique value [v7]
Emanuel Peter
epeter at openjdk.org
Wed Apr 23 08:51:55 UTC 2025
On Tue, 25 Mar 2025 16:18:20 GMT, Kangcheng Xu <kxu at openjdk.org> wrote:
>> This looks really interesting!
>>
>> I see that you are doing some special pattern matching. I wonder if it might be worth generalizing the algorithm, to search through an arbitrary "tree" of additions, collect all "leaves" of (`variable * multiplier`), sort by `variable`, and compute new additions for each `variable`. What do you think?
>
> @eme64 Could you please take a look at this if you have some time? Thanks!
@tabjy Do you want us to review again? We generally wait for a ping, otherwise we assume you are still working on it ;)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23506#issuecomment-2823535462
More information about the hotspot-compiler-dev
mailing list