[PATCH] D96922: [Coroutine] Check indirect uses of alloca when checking lifetime info

Chuanqi Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 21:36:39 PST 2021


ChuanqiXu added a comment.

In D96922#2573725 <https://reviews.llvm.org/D96922#2573725>, @rjmccall wrote:

> When you're analyzing uses of the alloca, you need to deal with uses that you don't fully understand by just giving up on the analysis and assuming that the object is used for its entire lifetime (as limited by lifetime intrinsics, if possible, but the entire function if not).

Yes, this is the problem that the `AllocaUseVisitor` is trying to solve. Maybe the implementation detail have bugs, but I think our direction is same.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96922/new/

https://reviews.llvm.org/D96922



More information about the llvm-commits mailing list