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

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Tue Nov 5 10:17:44 PST 2024


  Branch: refs/heads/users/atrosinenko/move-lr-checks-to-asmprinter
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f5c0bfb9d9c70274e10080ad6a5224c630a178f
      https://github.com/llvm/llvm-project/commit/1f5c0bfb9d9c70274e10080ad6a5224c630a178f
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-11-05 (Tue, 05 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/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: 2c4e9ff8a2660cb63b53d4c9e59fc73f8be78f19
      https://github.com/llvm/llvm-project/commit/2c4e9ff8a2660cb63b53d4c9e59fc73f8be78f19
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-11-05 (Tue, 05 Nov 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: a5a52cf755c1903e6a3c5edcdc379a43374c48a5
      https://github.com/llvm/llvm-project/commit/a5a52cf755c1903e6a3c5edcdc379a43374c48a5
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-11-05 (Tue, 05 Nov 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


  Commit: 0268b5be32fc19147ff027e5ee476cb41e4625bf
      https://github.com/llvm/llvm-project/commit/0268b5be32fc19147ff027e5ee476cb41e4625bf
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp

  Log Message:
  -----------
  Fix build after rebase


  Commit: fce0b3c8d2ad589248f4ac7f64c544876308c89d
      https://github.com/llvm/llvm-project/commit/fce0b3c8d2ad589248f4ac7f64c544876308c89d
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td

  Log Message:
  -----------
  AUTH_TCRETURN: Constrain call target operand instead of AddrDisc


  Commit: 3f86ece53d5e4158a597b303a01f7b4996f84bde
      https://github.com/llvm/llvm-project/commit/3f86ece53d5e4158a597b303a01f7b4996f84bde
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    A llvm/test/CodeGen/AArch64/ptrauth-tail-call-regalloc.ll

  Log Message:
  -----------
  Add test for scratch register availability


  Commit: 1e92b530de2519c48b27c613722b72ab1e4ec9ae
      https://github.com/llvm/llvm-project/commit/1e92b530de2519c48b27c613722b72ab1e4ec9ae
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/ptrauth-call.ll

  Log Message:
  -----------
  Improve test_tailcall_omit_mov_x16_x16 and rollback x1->x2 change


Compare: https://github.com/llvm/llvm-project/compare/98e12526f650...1e92b530de25

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