[PATCH] D127957: [AArch64][SME] Add some SME PSTATE setting/query intrinsics
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 16 05:56:39 PDT 2022
david-arm created this revision.
david-arm added reviewers: sdesmalen, aemerson, c-rhodes, CarolineConcatto, kmclaughlin.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
david-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch adds support for:
- Querying the PSTATE.SM state with @llvm.aarch64.sme.get.pstatesm
- Reading/writing the TPIDR2 register with new @llvm.aarch64.sme.get.tpidr2 and @llvm.aarch64.sme.set.tpidr2 intrinsics.
Tests added here:
CodeGen/AArch64/sme-get-pstatesm.ll
CodeGen/AArch64/sme-read-write-tpidr2.ll
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127957
Files:
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
llvm/test/CodeGen/AArch64/sme-get-pstatesm.ll
llvm/test/CodeGen/AArch64/sme-read-write-tpidr2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127957.437518.patch
Type: text/x-patch
Size: 4121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220616/15743b8b/attachment.bin>
More information about the llvm-commits
mailing list