[all-commits] [llvm/llvm-project] fafc6e: [IRGen] Emit lifetime intrinsics around temporary ...
Erik Pilkington via All-commits
all-commits at lists.llvm.org
Fri Feb 7 14:40:09 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fafc6e4fdf3673dcf557d6c8ae0c0a4bb3184402
https://github.com/llvm/llvm-project/commit/fafc6e4fdf3673dcf557d6c8ae0c0a4bb3184402
Author: Erik Pilkington <erik.pilkington at gmail.com>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGCall.h
A clang/test/CodeGen/lifetime-call-temp.c
M clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
Log Message:
-----------
[IRGen] Emit lifetime intrinsics around temporary aggregate argument allocas
These temporaries are only used in the callee, and their memory can be reused
after the call is complete.
rdar://58552124
Differential revision: https://reviews.llvm.org/D74094
More information about the All-commits
mailing list