[PATCH] D119576: [debug-info] If one sees a spill with a dbg.addr use, salvageDebugInfo upon it and don't hoist it.

Michael Gottesman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 11 12:54:27 PST 2022


gottesmm updated this revision to Diff 408005.
gottesmm added a comment.

In the test I purposely put in an llvm.dbg.value(undef) to make sure that we
properly propagated it through coroutine splitting so that I can use it to make
moved values unavailable.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119576/new/

https://reviews.llvm.org/D119576

Files:
  llvm/lib/Transforms/Coroutines/CoroFrame.cpp
  llvm/test/Transforms/Coroutines/coro-debug-dbg.addr-swift.ll
  llvm/test/Transforms/Coroutines/coro-debug-dbg.addr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119576.408005.patch
Type: text/x-patch
Size: 44492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220211/58ea1230/attachment.bin>


More information about the llvm-commits mailing list