[PATCH] D132385: [AArch64][PAC] Select XPAC for ptrauth.strip intrinsic.
Ahmed Bougacha via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 22 08:56:05 PDT 2022
ab created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a reviewer: apazos.
Herald added a project: All.
ab requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is mostly straightforward, with an additional optimization: XPACIuntied allows strips of LR (which we emit in `__builtin_return_address`) to avoid clobbering LR. (This can be useful, e.g., for a certain kind of wrapper functions that just forward the caller address, for logging and such)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132385
Files:
llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/ptrauth-intrinsic-strip.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132385.454524.patch
Type: text/x-patch
Size: 5060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220822/a266b75f/attachment.bin>
More information about the llvm-commits
mailing list