RFR: 8366815: C2: Delay Mod/Div by constant transformation
Hannes Greule
hgreule at openjdk.org
Sun Oct 19 17:36:37 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.
-------------
Commit messages:
- delay integral Div/Mod Ideal() until IGVN
- test
Changes: https://git.openjdk.org/jdk/pull/27886/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27886&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8366815
Stats: 108 lines in 3 files changed: 106 ins; 0 del; 2 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