[lworld] RFR: 8293172: [lworld] Folding of default value loads is broken

Tobias Hartmann thartmann at openjdk.org
Thu Sep 1 09:55:05 UTC 2022


While working on the merge, I noticed that the constant folding of the default value load in C2 is broken and none of our tests caught it. This change fixes the incorrect `tkls->isa_inlinetype()` check than can never be true and adds a regression test.

Best regards,
Tobias

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

Commit messages:
 - 8293172: [lworld] Folding of default value loads is broken

Changes: https://git.openjdk.org/valhalla/pull/737/files
 Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=737&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293172
  Stats: 6 lines in 2 files changed: 1 ins; 3 del; 2 mod
  Patch: https://git.openjdk.org/valhalla/pull/737.diff
  Fetch: git fetch https://git.openjdk.org/valhalla pull/737/head:pull/737

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



More information about the valhalla-dev mailing list