[all-commits] [llvm/llvm-project] d87e61: Teach the backend to make references to swift_asyn...

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Wed Dec 15 10:03:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d87e6170487c54fb609fa1f954b48b1109df062c
      https://github.com/llvm/llvm-project/commit/d87e6170487c54fb609fa1f954b48b1109df062c
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/X86/X86AsmPrinter.h
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/test/CodeGen/AArch64/swift-dynamic-async-frame.ll
    M llvm/test/CodeGen/X86/swift-dynamic-async-frame.ll

  Log Message:
  -----------
  Teach the backend to make references to swift_async_extendedFramePointerFlags weak if it emits it

When references to the symbol `swift_async_extendedFramePointerFlags`
are emitted they have to be weak.

References to the symbol `swift_async_extendedFramePointerFlags` get
emitted only by frame lowering code. Therefore, the backend needs to track
references to the symbol and mark them weak.

Differential Revision: https://reviews.llvm.org/D115672




More information about the All-commits mailing list