RFR: 8366815: C2: Delay Mod/Div by constant transformation [v4]

Hannes Greule hgreule at openjdk.org
Mon Dec 15 09:33:19 UTC 2025


> The test cases show examples of code where `Value()` previously wasn't run because idealization took place before, resulting in less precise type analysis.
> 
> Please let me know what you think.

Hannes Greule has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - Merge branch 'master' into delay-divmod-idealization
 - review
 - expand comments
 - delay integral Div/Mod Ideal() until IGVN
 - test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27886/files
  - new: https://git.openjdk.org/jdk/pull/27886/files/c32bb551..d9f8a698

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

  Stats: 393663 lines in 4045 files changed: 254254 ins; 88788 del; 50621 mod
  Patch: https://git.openjdk.org/jdk/pull/27886.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27886/head:pull/27886

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


More information about the hotspot-compiler-dev mailing list