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

Emanuel Peter epeter at openjdk.org
Wed Apr 2 10:29:08 UTC 2025


On Wed, 2 Apr 2025 10:05:45 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> `AddNode::IdealIL` handles to more general associative patterns like `(a*b) + (a*c)` into `a*(b + c)`
>
> Ah interesting. It could be worth adding a comment for that here then!

That was in fact a large part of my initial hesitation with this PR.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23506#discussion_r2024520170


More information about the hotspot-compiler-dev mailing list