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

Jasmine Karthikeyan jkarthikeyan at openjdk.org
Thu Aug 21 15:21:49 UTC 2025


On Thu, 21 Aug 2025 06:19:03 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> I see. Ok. Can you add a comment to the code for that?
>> Because imagine we come along later and actually implement a backend vectorized version of CastII (no-op?). Maybe because we implement if-conversion. Then it would be nice to know if this was just a "to be on the safe side" check, or if it would run into issues when removed.
>
> Because the current comment says "should not truncate". That sounds more strong than "to be on the safe side".

I think this is fair, I've pushed a commit that changes the comment wording. Let me know what you think!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26827#discussion_r2291394740


More information about the hotspot-compiler-dev mailing list