[PATCH] D89768: [Coroutine] Properly determine whether an alloca should live on the frame
Xun Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 21 12:44:33 PDT 2020
lxfind added a comment.
In D89768#2345468 <https://reviews.llvm.org/D89768#2345468>, @rjmccall wrote:
> There's an existing StackLifetime analysis that does some of this work and also considers the lifetime intrinsics; can we take advantage of that?
My understanding is quite the opposite, that StackLifetime analysis purely relies on lifetime intrinsics, and does not look at how an alloca is being used.
https://github.com/llvm/llvm-project/blob/e10e7829bf6f10c053c05e42b676d7acaf54a221/llvm/include/llvm/Analysis/StackLifetime.h#L111-L112
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89768/new/
https://reviews.llvm.org/D89768
More information about the llvm-commits
mailing list