[all-commits] [llvm/llvm-project] 58dcac: [AArch64] Check X16&X17 in prologue if the fn has ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Dec 5 03:41:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58dcac3948e8c9e0f24eb57fb6014366b75b2095
      https://github.com/llvm/llvm-project/commit/58dcac3948e8c9e0f24eb57fb6014366b75b2095
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/test/CodeGen/AArch64/store-swift-async-context-clobber-live-reg.ll

  Log Message:
  -----------
  [AArch64] Check X16&X17 in prologue if the fn has an SwiftAsyncContext. (#73945)

StoreSwiftAsyncContext clobbers X16 & X17. Make sure they are available
in canUseAsPrologue, to avoid shrink wrapping moving the pseudo to a
place where X16 or X17 are live.




More information about the All-commits mailing list