[llvm] [coroutines][CoroSplit] Store allocas on the frame if there is no exp… …licit lifetime.end (PR #88806)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 22:20:51 PDT 2024


efriedma-quic wrote:

Also:

- If there's a lifetime.start, and it flows to a ret/unreachable/resume, treat it as if there's a lifetime.end just before that.

------


llvm/lib/CodeGen/StackColoring.cpp implements this analysis, but not in a way you can easily reuse.  Still probably a useful reference.

(Lifetime intrinstics are inherently pretty messy; see also #45725.)

https://github.com/llvm/llvm-project/pull/88806


More information about the llvm-commits mailing list