RFR: 8362171: C2 fails with unexpected node in SuperWord truncation: ModI

Jasmine Karthikeyan jkarthikeyan at openjdk.org
Tue Jul 15 21:57:31 UTC 2025


Hi all,
This is a small fix for an assert failure in SuperWord truncation with ModI nodes. The failure itself is harmless and shouldn't lead to any miscompilations in product mode. I've added `ModI` to the assert switch and adapted the test in the bug report. Let me know what you think!

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

Commit messages:
 - Fix truncation assert with ModI nodes

Changes: https://git.openjdk.org/jdk/pull/26334/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26334&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8362171
  Stats: 14 lines in 2 files changed: 13 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26334.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26334/head:pull/26334

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


More information about the hotspot-compiler-dev mailing list