[SVE] Add intrinsics for integer binops that explicitly undefine the result for inact...
authorPaul Walker <paul.walker@arm.com>
Fri, 13 Jan 2023 12:00:11 +0000 (12:00 +0000)
committerPaul Walker <paul.walker@arm.com>
Sun, 22 Jan 2023 12:24:28 +0000 (12:24 +0000)
commitb34de68a1aaad9ff25926f583ba80ef01075552a
tree43fb80df199ecd5d9f4437b1cb024db46b8906aa
parent9cf968751b1833cb678a5fd64498123a77e2cd7e
[SVE] Add intrinsics for integer binops that explicitly undefine the result for inactive lanes.

The intent is to lower the clang X form SVE builtins to these
intrinsics. The suffix _x is already in use to signify unpredicated
SVE intrinsics hence my choice to use _u to signify those intrinsics
where the result for inactive lanes is undefined.

Differential Revision: https://reviews.llvm.org/D141937
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-aba.ll
llvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-undef.ll [new file with mode: 0644]
llvm/test/CodeGen/AArch64/sve-intrinsics-shifts-undef.ll [new file with mode: 0644]
llvm/test/CodeGen/AArch64/sve2-sra.ll