Commit 3ea2adb
[LoongArch][clang] Use
`-flax-vector-conversions=none` does not allow an implicit conversion
from `signed char` vector to `char` vector, and we cannot remove
`signed`
from `v16i8` or `v32i8` because doing so will break our expectation with
`-fno-signed-char`. So to make lsxintrin.h and lasxintrin.h work fine
with `-flax-vector-conversions=none`, we must use `signed char` instead
of `char`.
The change is just done via
sed 's/V16c/V16Sc/g' -i BuiltinsLoongArchLSX.def
sed 's/V32c/V32Sc/g' -i BuiltinsLoongArchLASX.def
Depends on #114509. Part of #110834 fix.
(cherry picked from commit b885054)signed char vectors instead of char vectors for LSX and LASX builtins (#114510)1 parent 9039cd7 commit 3ea2adb
File tree
2 files changed
+135
-135
lines changed- clang/include/clang/Basic
2 files changed
+135
-135
lines changed
0 commit comments