[all-commits] [llvm/llvm-project] 617c9d: [Corosplit] Prepend entry_value in swift async dbg...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Wed May 10 11:39:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 617c9d59df0ce4543d5252740b3f77854b912808
      https://github.com/llvm/llvm-project/commit/617c9d59df0ce4543d5252740b3f77854b912808
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2023-05-10 (Wed, 10 May 2023)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    A llvm/test/Transforms/Coroutines/swift-async-dbg.ll

  Log Message:
  -----------
  [Corosplit] Prepend entry_value in swift async dbg values

When the coroutine splitter splits swift coroutines, variables in the new
funclets are now described in terms of the frame pointer, which is always placed
at a ABI-specified register whose contents are valid upon function entry. As
such, debug intrinsics must be prepended by the `entry_value` operation.

Depends on D149778

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




More information about the All-commits mailing list