[PATCH] D157320: [AArch64][PAC] Remove duplication of LR sign/auth implementations

Anatoly Trosinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 12:27:22 PDT 2023


atrosinenko created this revision.
atrosinenko added reviewers: ab, kristof.beyls, apazos, pcc, psmith, t.p.northover.
Herald added a subscriber: hiraditya.
Herald added a project: All.
atrosinenko requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In machine outliner implementation for AArch64, `signOutlinedFunction()`
reimplements signing the LR value in prologue and authenticating it in
epilogue of the outlined function. This patch factors out `signLR()` and
`authenticateLR()` functions from AArch64FrameLowering code and reuses
them in `signOutlinedFunction()`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157320

Files:
  llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
  llvm/lib/Target/AArch64/AArch64FrameLowering.h
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157320.547910.patch
Type: text/x-patch
Size: 12077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230807/7976c463/attachment.bin>


More information about the llvm-commits mailing list