RFR: 8369258: C2: enable ReassociateInvariants for all loop types

Emanuel Peter epeter at openjdk.org
Mon Oct 13 14:03:26 UTC 2025


On Tue, 7 Oct 2025 07:36:41 GMT, Roland Westrelin <roland at openjdk.org> wrote:

> Currently ReassociateInvariants is only enabled for int counted
> loops. I noticed, enabling it for long counted loops helps RCE. It
> also seems like something that would help any loop. I propose enabling
> it for all inner loops.

BTW: testing passed!

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

PR Comment: https://git.openjdk.org/jdk/pull/27666#issuecomment-3397664240


More information about the hotspot-compiler-dev mailing list