[all-commits] [llvm/llvm-project] 44076c: [AArch64][PAC] Move emission of LR checks in tail ...

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Tue Nov 12 07:27:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44076c9822bd80f11228474f98789eaafe4285b0
      https://github.com/llvm/llvm-project/commit/44076c9822bd80f11228474f98789eaafe4285b0
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
    M llvm/lib/Target/AArch64/AArch64PointerAuth.h
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.td
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    M llvm/test/CodeGen/AArch64/ptrauth-call.ll
    M llvm/test/CodeGen/AArch64/ptrauth-ret-trap.ll
    A llvm/test/CodeGen/AArch64/ptrauth-tail-call-regalloc.ll
    M llvm/test/CodeGen/AArch64/sign-return-address-tailcall.ll

  Log Message:
  -----------
  [AArch64][PAC] Move emission of LR checks in tail calls to AsmPrinter (#110705)

Move the emission of the checks performed on the authenticated LR value
during tail calls to AArch64AsmPrinter class, so that different checker
sequences can be reused by pseudo instructions expanded there.
This adds one more option to AuthCheckMethod enumeration, the generic
XPAC variant which is not restricted to checking the LR register.



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