[PATCH] D128332: [AArch64][SME] Add SVE2 psel, uclamp, sclamp and revd IR intrinsics
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 22 03:29:06 PDT 2022
david-arm created this revision.
david-arm added reviewers: sdesmalen, aemerson, c-rhodes, kmclaughlin.
Herald added subscribers: ctetreau, hiraditya, kristof.beyls, tschuett.
Herald added a project: All.
david-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When the SME feature is enabled we also gain access to a few extra
SVE2 instructions. This patch adds LLVM IR intrinsics to make use
of these new instructions:
@llvm.aarch64.sve.psel
@llvm.aarch64.sve.revd
@llvm.aarch64.sve.sclamp
@llvm.aarch64.sve.uclamp
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128332
Files:
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SMEInstrFormats.td
llvm/test/CodeGen/AArch64/sve2-intrinsics-psel.ll
llvm/test/CodeGen/AArch64/sve2-intrinsics-revd.ll
llvm/test/CodeGen/AArch64/sve2-intrinsics-sclamp.ll
llvm/test/CodeGen/AArch64/sve2-intrinsics-uclamp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128332.438960.patch
Type: text/x-patch
Size: 19916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220622/d910f479/attachment.bin>
More information about the llvm-commits
mailing list