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

Roland Westrelin roland at openjdk.org
Mon Oct 13 14:48:41 UTC 2025


On Mon, 13 Oct 2025 14:00:54 GMT, Emanuel Peter <epeter 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!

@eme64 new commit should address your comments.

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

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


More information about the hotspot-compiler-dev mailing list