[PATCH] D149779: [Corosplit] Prepend entry_value in swift async dbg values

Felipe de Azevedo Piovezan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 3 12:37:25 PDT 2023


fdeazeve created this revision.
fdeazeve added a reviewer: aprantl.
Herald added subscribers: ChuanqiXu, hiraditya.
Herald added a project: All.
fdeazeve requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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 <https://reviews.llvm.org/D149778>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149779

Files:
  llvm/lib/Transforms/Coroutines/CoroFrame.cpp
  llvm/test/Transforms/Coroutines/swift-async-dbg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149779.519211.patch
Type: text/x-patch
Size: 13637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230503/674cbe94/attachment.bin>


More information about the llvm-commits mailing list