RFR: 8328528: C2 should optimize long-typed parallel iv in an int counted loop [v7]

Kangcheng Xu kxu at openjdk.org
Mon Jul 22 13:53:48 UTC 2024


> Currently, parallel iv optimization only happens in an int counted loop with int-typed parallel iv's. This PR adds support for long-typed iv to be optimized. 
> 
> Additionally, this ticket contributes to the resolution of [JDK-8275913](https://bugs.openjdk.org/browse/JDK-8275913). Meanwhile, I'm working on adding support for parallel IV replacement for long counted loops which will depend on this PR.

Kangcheng Xu has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains two new commits since the last revision:

 - Merge branch 'master' into long-typed-parallel-iv
 - add random strides to tests

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18489/files
  - new: https://git.openjdk.org/jdk/pull/18489/files/981b9600..6ae66d4a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18489&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18489&range=05-06

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

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


More information about the hotspot-compiler-dev mailing list