summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2017-11-20 18:33:38 +0000
committerTeresa Johnson <tejohnson@google.com>2017-11-20 18:33:38 +0000
commit3309002a868382abc57804507a92be4d5c400c6d (patch)
tree2844729d23f5872375e2a70278581b28305662f9 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent37d3288cf53deb53f2ef0c3f04d513b650f8036d (diff)
downloadbcm5719-llvm-3309002a868382abc57804507a92be4d5c400c6d.tar.gz
bcm5719-llvm-3309002a868382abc57804507a92be4d5c400c6d.zip
[SROA] Correctly invalidate analyses when dead instructions deleted
Summary: SROA can fail in rewriting alloca but still rewrite a phi resulting in dead instruction elimination. The Changed flag was not being set correctly, resulting in downstream passes using stale analyses. The included test case will assert during the second BDCE pass as a result. Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D39921 llvm-svn: 318677
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud