[llvm] [coro][CoroSplit] Use `llvm.lifetime.end` to compute putting objects on the frame vs the stack (PR #90265)

Chuanqi Xu via llvm-commits llvm-commits at lists.llvm.org
Sun May 5 19:49:35 PDT 2024


================
@@ -85,17 +85,27 @@ bool isPotentiallyReachable(
 /// Determine whether there is at least one path from a block in
 /// 'Worklist' to 'StopBB' without passing through any blocks in
 /// 'ExclusionSet', returning true if uncertain.
-///
-/// Determine whether there is a path from at least one block in Worklist to
-/// StopBB within a single function without passing through any of the blocks
-/// in 'ExclusionSet'. Returns false only if we can prove that once any block
-/// in 'Worklist' has been reached then 'StopBB' can not be executed.
-/// Conservatively returns true.
----------------
ChuanqiXu9 wrote:

Do we need to remove this really? I feel better to make it self contained.

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


More information about the llvm-commits mailing list