[LoongArch][Clang] Make the parameters and return value of {x,}vorn.v builti ns ...
commit62bf5840a63fbe0856c47df3f9ed6b8f1202b385
authorXi Ruoyao <xry111@xry111.site>
Wed, 20 Nov 2024 09:58:21 +0000 (20 17:58 +0800)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 09:58:21 +0000 (20 17:58 +0800)
tree0e435f6f65c44818286ad8b17a219f532ff70a64
parent9568f88b7f05015a438ed8beb4f4d07782c34dc2
[LoongArch][Clang] Make the parameters and return value of {x,}vorn.v builti ns `unsigned char` vectors (#114514)

All other bitwise vector builtins use `unsigned char` vector operands,
so it does not make too much sense to use `signed char` for the orn
operation alone.

The same change has been also proposed for GCC:
https://gcc.gnu.org/pipermail/gcc-patches/2024-October/667065.html.

Depends on #114513.
clang/include/clang/Basic/BuiltinsLoongArchLASX.def
clang/include/clang/Basic/BuiltinsLoongArchLSX.def
clang/lib/Headers/lasxintrin.h
clang/lib/Headers/lsxintrin.h