diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2017-01-18 02:41:26 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2017-01-18 02:41:26 +0000 |
commit | d50c5fb13f00ceac3353ce1a17fb5c53c5d65c03 (patch) | |
tree | c80b6101a7fbbf50bd784a0eda354e550148fdb8 /llvm/test/Transforms/LoopDeletion/multiple-exit-conditions.ll | |
parent | 88c36d78529ebb0c9cd8605dbcca4630901bd9b0 (diff) | |
download | bcm5719-llvm-d50c5fb13f00ceac3353ce1a17fb5c53c5d65c03.tar.gz bcm5719-llvm-d50c5fb13f00ceac3353ce1a17fb5c53c5d65c03.zip |
[PM] Teach LoopDeletion to correctly update the LPM when loops are
deleted.
I've expanded its test coverage a bit including adding one test that
will crash clearly without this change.
llvm-svn: 292332
Diffstat (limited to 'llvm/test/Transforms/LoopDeletion/multiple-exit-conditions.ll')
-rw-r--r-- | llvm/test/Transforms/LoopDeletion/multiple-exit-conditions.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopDeletion/multiple-exit-conditions.ll b/llvm/test/Transforms/LoopDeletion/multiple-exit-conditions.ll index d7d6badb165..e7b47211d57 100644 --- a/llvm/test/Transforms/LoopDeletion/multiple-exit-conditions.ll +++ b/llvm/test/Transforms/LoopDeletion/multiple-exit-conditions.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -loop-deletion -S | FileCheck %s -; RUN: opt < %s -passes='require<scalar-evolution>,loop(loop-deletion)' -S | FileCheck %s +; RUN: opt < %s -passes='loop(loop-deletion)' -S | FileCheck %s ; ScalarEvolution can prove the loop iteration is finite, even though ; it can't represent the exact trip count as an expression. That's |