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

Roland Westrelin roland at openjdk.org
Tue Jun 3 12:03:59 UTC 2025


On Mon, 2 Jun 2025 11:50:38 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> What I would like to see for **testing**: add some more patterns with IR rules. More that now optimize, and also a few that do not optimize, just so we have a bit of a sense what we are still missing.
> 
> @rwestrel Filed this issue. I wonder: what do you think we should do here? How general should the optimization/canonicalization be?

Having a clearer view what optimizes and what doesn't as you suggest (and filing a bug to keep track of what's missing) sounds useful. Beyond that, I don't see why we wouldn't get what we have so far integrated. It can be improved or reworked down the road but it feels useful to me as it is.

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

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


More information about the hotspot-compiler-dev mailing list