[clang] [llvm] [RFC][Coroutines] Implement HALO for coroutines that flow off final suspend (PR #185336)
Weibo He via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 9 19:17:39 PDT 2026
================
@@ -249,8 +259,8 @@ bool CoroIdElider::canCoroBeginEscape(
Worklist.push_back(CB->getParent());
SmallPtrSet<const BasicBlock *, 32> Visited;
- // Consider basicblock of coro.destroy as visited one, so that we
- // skip the path pass through coro.destroy.
+ // Consider basicblock of coro.dead as visited one, so that we
----------------
NewSigma wrote:
Yes, `coro.destroy` implies `coro.dead`. I have revised the comments to make it explicit.
https://github.com/llvm/llvm-project/pull/185336
More information about the llvm-commits
mailing list