[all-commits] [llvm/llvm-project] d09363: [AArch64][PAC] Don't move sp adjustments to form b...

Jon Roelofs via All-commits all-commits at lists.llvm.org
Thu Sep 17 13:54:02 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d093631e8ea2e7c9c0c7d866ba6cc62b742d6467
      https://github.com/llvm/llvm-project/commit/d093631e8ea2e7c9c0c7d866ba6cc62b742d6467
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
    M llvm/test/CodeGen/AArch64/aarch64-signedreturnaddress.ll
    M llvm/test/CodeGen/AArch64/ptrauth-tail-call-stackadjust.ll
    M llvm/test/CodeGen/AArch64/sign-return-address-pauthlr-slh.ll
    M llvm/test/CodeGen/AArch64/swifttail-ptrauth.ll

  Log Message:
  -----------
  [AArch64][PAC] Don't move sp adjustments to form better epilogue AUTs (#221009)

This has proven to be pretty fragile, and generally unsound. Instead, we
should treat the location of the PAUTH_EPILOGUE as _the_ location of the
AUT, and accept whatever that means in terms of the codegen we have to
emit for that pseudo at the time we emit it.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list