[PATCH] D150951: [AArch64][SME2/SVE2p1] Add predicate-as-counter intrinsics for sel
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 03:11:26 PDT 2023
sdesmalen created this revision.
Herald added subscribers: hiraditya, kristof.beyls, tschuett.
Herald added a project: All.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
These intrinsics are used to implement the sel intrinsics that selects
a tuple of 2 or 4 values based on a predicate-as-counter operand, e.g.
__attribute__((arm_streaming))
svuint8x2_t svsel[_u8_x2](svcount_t png, svuint8x2_t zn, svuint8x2_t zm);
__attribute__((arm_streaming))
svuint8x4_t svsel[_u8_x4](svcount_t png, svuint8x4_t zn, svuint8x4_t zm);
As described in https://github.com/ARM-software/acle/pull/217
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150951
Files:
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx2.ll
llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150951.523711.patch
Type: text/x-patch
Size: 34550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/d9f8aee1/attachment-0001.bin>
More information about the llvm-commits
mailing list