RFR: 8369258: C2: enable ReassociateInvariants for all loop types [v3]

Quan Anh Mai qamai at openjdk.org
Wed Oct 15 15:52:10 UTC 2025


On Wed, 15 Oct 2025 15:48:49 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.
>
> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review

Marked as reviewed by qamai (Committer).

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

PR Review: https://git.openjdk.org/jdk/pull/27666#pullrequestreview-3341113657


More information about the hotspot-compiler-dev mailing list