[PATCH] D150958: [SME2/SVE2p1] Change psel intrinsic such that the result/first operand are not overloaded.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 03:38:23 PDT 2023


sdesmalen created this revision.
sdesmalen added reviewers: CarolineConcatto, david-arm.
Herald added subscribers: hiraditya, tschuett.
Herald added a project: All.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150958

Files:
  llvm/include/llvm/IR/IntrinsicsAArch64.td
  llvm/lib/Target/AArch64/SMEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve2-intrinsics-psel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150958.523722.patch
Type: text/x-patch
Size: 8219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/1184a246/attachment-0001.bin>


More information about the llvm-commits mailing list