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

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 13 12:37:51 PST 2016


ahatanak updated this revision to Diff 81284.
ahatanak added a comment.

Address review comment. Use llvm::is_contained instead of std::find.


https://reviews.llvm.org/D27680

Files:
  lib/CodeGen/CGDecl.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGStmt.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/lifetime2.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27680.81284.patch
Type: text/x-patch
Size: 10798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161213/2ae2f983/attachment.bin>


More information about the cfe-commits mailing list