summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/benchmarks/continue
diff options
context:
space:
mode:
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2017-06-19 18:00:27 +0000
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2017-06-19 18:00:27 +0000
commit475fcd9cd8b8c1747fc2e918a507194af77f139b (patch)
tree8c9659810652d7ad8db020d9680011164bef46f1 /lldb/packages/Python/lldbsuite/test/benchmarks/continue
parentca69fc1cb7df15b37b9053d23856e7a648e2b2f1 (diff)
downloadbcm5719-llvm-475fcd9cd8b8c1747fc2e918a507194af77f139b.tar.gz
bcm5719-llvm-475fcd9cd8b8c1747fc2e918a507194af77f139b.zip
[InstCombine] Make sure AddReachableCodeToWorklist sets MadeIRChange
Summary: Some optimizations in AddReachableCodeToWorklist did not update the MadeIRChange state. This could happen both when removing trivially dead instructions (DCE) and at constant folds. It is essential that changes to the IR is reported correctly, since for example InstCombinePass::run() will indicate that all analyses are preserved otherwise. And the CGPassManager determines if the CallGraph is up-to-date based on status from InstructionCombiningPass::runOnFunction(). The new test case early_dce_clobbers_callgraph.ll is a reproducer for some asserts that started to trigger after changes in the inliner in r305245. With this patch the test case passes again. Reviewers: sanjoy, craig.topper, dblaikie Reviewed By: craig.topper Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34346 llvm-svn: 305725
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/benchmarks/continue')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud