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

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Fri Oct 25 07:06:44 PDT 2024


  Branch: refs/heads/users/atrosinenko/move-lr-checks-to-asmprinter
  Home:   https://github.com/llvm/llvm-project
  Commit: 847ee8a3a9d2db27bdddb96e69951dd81c95f629
      https://github.com/llvm/llvm-project/commit/847ee8a3a9d2db27bdddb96e69951dd81c95f629
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-10-25 (Fri, 25 Oct 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/AArch64Subtarget.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    M llvm/test/CodeGen/AArch64/ptrauth-ret-trap.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

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.


  Commit: 87926b6c2da208223886a77c0e6914ea54da9103
      https://github.com/llvm/llvm-project/commit/87926b6c2da208223886a77c0e6914ea54da9103
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-10-25 (Fri, 25 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.td
    M llvm/test/CodeGen/AArch64/ptrauth-call.ll

  Log Message:
  -----------
  Check both register operands of AUTH_TCRETURN*


  Commit: 98e12526f6503322f2400acaeb39c4fc6e7638cc
      https://github.com/llvm/llvm-project/commit/98e12526f6503322f2400acaeb39c4fc6e7638cc
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-10-25 (Fri, 25 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64PointerAuth.h
    M llvm/test/CodeGen/AArch64/sign-return-address-tailcall.ll

  Log Message:
  -----------
  Misc improvements


Compare: https://github.com/llvm/llvm-project/compare/8c2472ca7f9f...98e12526f650

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