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

Roland Westrelin roland at openjdk.org
Wed Oct 15 15:52:08 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27666/files
  - new: https://git.openjdk.org/jdk/pull/27666/files/87d69288..87f08209

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27666&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27666&range=01-02

  Stats: 14 lines in 1 file changed: 14 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/27666.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27666/head:pull/27666

PR: https://git.openjdk.org/jdk/pull/27666


More information about the hotspot-compiler-dev mailing list