[jdk25u-dev] Integrated: 8365570: C2 fails assert(false) failed: Unexpected node in SuperWord truncation: CastII
Vishal Chand
duke at openjdk.org
Thu Feb 26 16:29:56 UTC 2026
On Sat, 14 Feb 2026 07:58:36 GMT, Vishal Chand <duke at openjdk.org> wrote:
> Clean backport of [8365570](https://github.com/openjdk/jdk/commit/775f48de6129092d05650fec17dad171944e6d89) - C2 fails assert(false) failed: Unexpected node in SuperWord truncation: CastII
>
> * Fixes assert failure in superword truncation with CastII. Since casts specifically change the type of a node, they should not be truncated during vectorization to maintain type safety.
>
> * Additional Testing:
>
> - [x] New regression test fails without the fix, passes with it.
> - [x] Linux x86_64 server fastebug compiler tests.
This pull request has now been integrated.
Changeset: be61f28e
Author: Vishal Chand <vishalvc at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk25u-dev/commit/be61f28e1ac9aa10e9d9debedcf27bc45161c4b9
Stats: 33 lines in 2 files changed: 31 ins; 0 del; 2 mod
8365570: C2 fails assert(false) failed: Unexpected node in SuperWord truncation: CastII
Backport-of: 775f48de6129092d05650fec17dad171944e6d89
-------------
PR: https://git.openjdk.org/jdk25u-dev/pull/269
More information about the jdk-updates-dev
mailing list