[PATCH] D24693: [CodeGen] Don't emit lifetime intrinsics for some local variables
Evgeniy Stepanov via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 28 16:35:47 PDT 2016
eugenis added a comment.
In https://reviews.llvm.org/D24693#553474, @vitalybuka wrote:
> My assumption is that "start" makes access valid, and "end" makes access invalid, up to the next "start".
That's also my understanding, but LangRef does not say anything about llvm.lifetime.start cancelling the effects of llvm.lifetime.end.
Any stores into the memory object following this intrinsic may be removed as dead.
More information about the cfe-commits