[PATCH] D131570: [AArch64][SME] Add utility class for handling SME attributes.
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 10 07:39:30 PDT 2022
sdesmalen created this revision.
Herald added subscribers: jdoerfert, hiraditya, kristof.beyls, mgorny.
Herald added a project: All.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch adds a utility class that will be used in subsequent patches
for parsing the function/callsite attributes and determining whether
changes to PSTATE.SM are needed, or whether a lazy-save mechanism is
required.
It also implements some of the restrictions on the SME attributes
in the IR Verifier pass.
More details about the SME attributes and design can be found
in D131562 <https://reviews.llvm.org/D131562>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131570
Files:
llvm/lib/IR/Verifier.cpp
llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp
llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h
llvm/lib/Target/AArch64/Utils/CMakeLists.txt
llvm/test/Verifier/sme-attributes.ll
llvm/unittests/Target/AArch64/CMakeLists.txt
llvm/unittests/Target/AArch64/SMEAttributesTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131570.451455.patch
Type: text/x-patch
Size: 18195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220810/7d1e2e58/attachment.bin>
More information about the llvm-commits
mailing list