[PATCH] D74094: [IRGen] Emit lifetime intrinsics around temporary aggregate argument allocas
Erik Pilkington via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 7 11:21:46 PST 2020
erik.pilkington updated this revision to Diff 243243.
erik.pilkington marked 2 inline comments as done.
erik.pilkington added a comment.
Disable the optimization for non-trivially destructible types.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74094/new/
https://reviews.llvm.org/D74094
Files:
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CGCall.h
clang/test/CodeGen/lifetime-call-temp.c
clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74094.243243.patch
Type: text/x-patch
Size: 7037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200207/6427aedc/attachment-0001.bin>
More information about the cfe-commits
mailing list