[lworld] RFR: 8377414: [lworld] Improve acmp expansion

Quan Anh Mai qamai at openjdk.org
Mon Feb 9 21:50:18 UTC 2026


Hi,

This PR improves the acmp expansion:

- Do an incremental inlining for easier graph modification.
- Take advantage of field values in addition to field types to shortcut the substitutability check.

Please take a look and leave your review, thanks a lot.

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

Commit messages:
 - add test 1 is identity
 - refactor, add failOn = ALLOC
 - Improve acmp expansion

Changes: https://git.openjdk.org/valhalla/pull/2066/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2066&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8377414
  Stats: 576 lines in 7 files changed: 382 ins; 96 del; 98 mod
  Patch: https://git.openjdk.org/valhalla/pull/2066.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2066/head:pull/2066

PR: https://git.openjdk.org/valhalla/pull/2066


More information about the valhalla-dev mailing list