diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2016-11-28 21:50:34 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2016-11-28 21:50:34 +0000 |
commit | 5096775393b8509922bfc562ad497f1313cef3af (patch) | |
tree | d31c8136347d926383bbc93b0dfb8d4ad2fe9931 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 1cf9aff65952c7eb1bea7ecfd76a7dd5b0c6f450 (diff) | |
download | bcm5719-llvm-5096775393b8509922bfc562ad497f1313cef3af.tar.gz bcm5719-llvm-5096775393b8509922bfc562ad497f1313cef3af.zip |
[SROA] Drop lifetime.start/end intrinsics when they block promotion.
Preserving lifetime markers isn't as important as allowing promotion,
so just drop the lifetime markers if necessary.
This also fixes an assertion failure where other parts of SROA assumed
that lifetime markers never block promotion.
Fixes https://llvm.org/bugs/show_bug.cgi?id=29139.
Differential Revision: https://reviews.llvm.org/D24854
llvm-svn: 288074
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions