[llvm] [coro][CoroSplit] Use `llvm.lifetime.end` to compute putting objects on the frame vs the stack (PR #90265)
Alan Zhao via llvm-commits
llvm-commits at lists.llvm.org
Fri May 3 14:35:33 PDT 2024
================
@@ -1550,13 +1556,16 @@ struct AllocaUseVisitor : PtrUseVisitor<AllocaUseVisitor> {
}
void visitIntrinsicInst(IntrinsicInst &II) {
+ if (II.getIntrinsicID() == Intrinsic::lifetime_end)
----------------
alanzhao1 wrote:
Done (but there's no logic change anyways since we don't check `LifetimeEndBBs` if there are no `LifetimeStarts`).
https://github.com/llvm/llvm-project/pull/90265
More information about the llvm-commits
mailing list