[PATCH] D156428: [AArch64][PtrAuth] Fix unwind state for tail calls

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 08:33:58 PDT 2023


olista01 updated this revision to Diff 546491.
olista01 added a comment.

Added full checking of the llvm-dwarfdump output.

This also revealed another future optimisation opportunity: move the
negate_ra_state forward to the same location as the other unwind opcodes, to
save one advance_loc per function.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156428/new/

https://reviews.llvm.org/D156428

Files:
  llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
  llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-regsave.mir
  llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
  llvm/test/CodeGen/AArch64/sign-return-address-cfi-negate-ra-state.ll
  llvm/test/CodeGen/AArch64/sign-return-address.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156428.546491.patch
Type: text/x-patch
Size: 16699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230802/6e1071db/attachment.bin>


More information about the llvm-commits mailing list