[PATCH] D27680: [CodeGen] Move lifetime.start of a variable when goto jumps back past its declaration

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 25 10:30:45 PST 2017


rjmccall added a comment.

In https://reviews.llvm.org/D27680#656453, @ahatanak wrote:

> Yes, we can make VarBypassDetector detect variables declared after labels too if we want to put all the logic for disabling lifetime markers in one place.


Okay.  If that's straightforward, that does seem better.  But feel free to use this approach first if there's time pressure.


https://reviews.llvm.org/D27680





More information about the cfe-commits mailing list