RFR: 8347555: [REDO] C2: implement optimization for series of Add of unique value [v7]

Kangcheng Xu kxu at openjdk.org
Fri Oct 10 14:07:44 UTC 2025


On Thu, 9 Oct 2025 12:45:05 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> @eme64 Thank you for reviewing! Those are very valid suggestion, especially on naming as this PR evolves. I've done the following:
>> 
>> - updated naming (mostly with "serial addition" to "collapsable addition (into multiplication)")
>> - updated comments
>> - moved test file
>> - merged in master
>> 
>> Please enjoy your time off!
>> 
>> Once GHA passes, @rwestrel could you please give this a quick review if you have some time? Thank you very much!
>
> @tabjy The code now looks good to me. I ran some internal testing, should take about 24h.

Many thanks to @eme64 and @rwestrel for reviewing. It was really educational!

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23506#issuecomment-3390319046


More information about the hotspot-compiler-dev mailing list