You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Towards the end, you can see %25 = OpVectorShuffle %7 %24 %15 1 -1, but the specification states that the Components literal of the OpVectorShuffle instruction must be an unsigned integer. I believe the constant 0xFFFFFFFF is supposed to be there instead of the -1.
Reproduced on LLVM 19.1.6, x86_64 (see repr_minus_one.ll for details).
The text was updated successfully, but these errors were encountered:
The SPIR-V backend generates
-1
instead of0xFFFFFFFF
inOpVectorShuffle
instruction.Original C source:
clang -S -emit-llvm -O3 repr_minus_one.c -o repr_minus_one.ll
generates:llc -mtriple=spirv64 repr_minus_one.ll -o repr_minus_one.spt
generates:Towards the end, you can see
%25 = OpVectorShuffle %7 %24 %15 1 -1
, but the specification states that the Components literal of the OpVectorShuffle instruction must be an unsigned integer. I believe the constant 0xFFFFFFFF is supposed to be there instead of the -1.Reproduced on LLVM 19.1.6, x86_64 (see repr_minus_one.ll for details).
The text was updated successfully, but these errors were encountered: