[PATCH] D89768: [Coroutine] Properly determine whether an alloca should live on the frame

John McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 16:11:32 PDT 2020


rjmccall added a comment.

Okay.  Well, it does seem to me that we need to be considering lifetimes.  If we can also optimize when we don't have lifetime information and the variable doesn't escape, that's great, but we often have pretty good lifetime information that we can use.  And in optimized builds we'll usually have already eliminated allocas that don't escape, so the remaining allocas are very likely to have all escaped.


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