RFR: 8365570: C2 fails assert(false) failed: Unexpected node in SuperWord truncation: CastII [v4]

Jasmine Karthikeyan jkarthikeyan at openjdk.org
Tue Jan 6 23:48:09 UTC 2026


> Hi all,
> This is a quick patch for the assert failure in superword truncation with CastII. I've added a check for all constraint cast nodes, and attached a reduced version of the fuzzer test. Thanks!

Jasmine Karthikeyan 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 six additional commits since the last revision:

 - Update copyright year
 - Merge branch 'master' into jdk-8365570
 - Remove CompLevel.C2 from test
 - Merge branch 'master' into jdk-8365570
 - Update comment for constraint casts
 - Fix truncation assert for constraint casts

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26827/files
  - new: https://git.openjdk.org/jdk/pull/26827/files/f433930e..ebe5a1d1

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

  Stats: 75767 lines in 3383 files changed: 40560 ins; 15067 del; 20140 mod
  Patch: https://git.openjdk.org/jdk/pull/26827.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26827/head:pull/26827

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


More information about the hotspot-compiler-dev mailing list