[PATCH] D45900: CodeGen: Fix invalid bitcast for lifetime.start/end

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 15 20:02:03 PDT 2018


yaxunl updated this revision to Diff 146987.
yaxunl edited the summary of this revision.
yaxunl added a comment.

Add optional argument to CreateMemTemp and CreateTempAlloca to get the original alloca and use it for lifetime intrinsic.


https://reviews.llvm.org/D45900

Files:
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CGDecl.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprAgg.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGenCXX/amdgcn_declspec_get.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45900.146987.patch
Type: text/x-patch
Size: 17800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180516/a55ed829/attachment-0001.bin>


More information about the cfe-commits mailing list