[SME2/SVE2p1] Change psel intrinsic such that the result/first operand are not overlo...
authorSander de Smalen <sander.desmalen@arm.com>
Mon, 22 May 2023 13:52:06 +0000 (13:52 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Mon, 22 May 2023 13:52:06 +0000 (13:52 +0000)
commit437a516da8055c28c89dead53c012f71a4331eb9
tree28dd39712b4043b9f706e70ad72c6ea71d0f61da
parent387c49f693c82bdf8b9b0f1ef48a92f51bb781b4
[SME2/SVE2p1] Change psel intrinsic such that the result/first operand are not overloaded.

All the bits of the first operand are copied to the destination register,
if the tested bit (in the second source operand) is active. This means we
copy over all vscale x 16 x i1's of the first operand. There is no need to
overload that type.

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D150958
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/SMEInstrFormats.td
llvm/test/CodeGen/AArch64/sve2-intrinsics-psel.ll