diff options
author | Dan Gohman <gohman@apple.com> | 2010-02-19 18:12:07 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-02-19 18:12:07 +0000 |
commit | 00cb5b724547a821516292fe5cded7c6a5358bda (patch) | |
tree | a7de32f5f0495e9ca18a39599e62d221d4edf950 /test/Transforms/IndVarSimplify/2005-11-18-Crash.ll | |
parent | 6b89aa57e6506f073579398bd74845db9463b9f1 (diff) | |
download | external_llvm-00cb5b724547a821516292fe5cded7c6a5358bda.zip external_llvm-00cb5b724547a821516292fe5cded7c6a5358bda.tar.gz external_llvm-00cb5b724547a821516292fe5cded7c6a5358bda.tar.bz2 |
Teach ScalarEvolution how to compute a tripcount for a loop with
true or false as its exit condition. These are usually eliminated by
SimplifyCFG, but the may be left around during a pass which wishes
to preserve the CFG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96683 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/IndVarSimplify/2005-11-18-Crash.ll')
-rw-r--r-- | test/Transforms/IndVarSimplify/2005-11-18-Crash.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll b/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll index f9a3fe6..7202c7a 100644 --- a/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll +++ b/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll @@ -9,7 +9,7 @@ entry: no_exit.0: ; preds = %no_exit.0, %entry %p.0.0 = phi i32* [ getelementptr ([29 x [29 x [2 x i32]]]* @fixtab, i32 0, i32 0, i32 0, i32 0), %entry ], [ %inc.0, %no_exit.0 ] ; <i32*> [#uses=1] %inc.0 = getelementptr i32* %p.0.0, i32 1 ; <i32*> [#uses=1] - br i1 false, label %no_exit.0, label %no_exit.1 + br i1 undef, label %no_exit.0, label %no_exit.1 no_exit.1: ; preds = %no_exit.0 ret void |