diff options
author | Reid Kleckner <rnk@google.com> | 2019-01-17 20:46:53 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-01-17 20:46:53 +0000 |
commit | edd653bc072dcafa5e54c2c91b7cf20343b2664c (patch) | |
tree | f06199624506eedd4e8cd55a03fc1ed00d3bef1b /lldb/packages/Python/lldbsuite/test/expression_command | |
parent | 5094e5ef8bd40b30efc22825b7413de180114946 (diff) | |
download | bcm5719-llvm-edd653bc072dcafa5e54c2c91b7cf20343b2664c.tar.gz bcm5719-llvm-edd653bc072dcafa5e54c2c91b7cf20343b2664c.zip |
[InstCombine] Don't sink dynamic allocas
Summary:
InstCombine's sinking algorithm only thinks about memory. It doesn't
think about non-memory constraints like stack object lifetime. It can
sink dynamic allocas across a stacksave call, which may be used with
stackrestore, which can incorrectly reduce the lifetime of the dynamic
alloca.
Fixes PR40365
Reviewers: hfinkel, efriedma
Subscribers: hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D56872
llvm-svn: 351475
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
0 files changed, 0 insertions, 0 deletions