summaryrefslogtreecommitdiff
path: root/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-19 18:12:07 +0000
committerDan Gohman <gohman@apple.com>2010-02-19 18:12:07 +0000
commit00cb5b724547a821516292fe5cded7c6a5358bda (patch)
treea7de32f5f0495e9ca18a39599e62d221d4edf950 /test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
parent6b89aa57e6506f073579398bd74845db9463b9f1 (diff)
downloadllvm-00cb5b724547a821516292fe5cded7c6a5358bda.tar.gz
llvm-00cb5b724547a821516292fe5cded7c6a5358bda.tar.bz2
llvm-00cb5b724547a821516292fe5cded7c6a5358bda.tar.xz
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/2006-12-10-BitCast.ll')
-rw-r--r--test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll b/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
index 79ac1f072d..80c9ebf2f0 100644
--- a/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
+++ b/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
@@ -20,7 +20,7 @@ cond_next182.i: ; preds = %cond_next182.i, %cond_true52
%tmp194.i53 = bitcast i32 %decay.i.0 to float ; <float> [#uses=1]
%tmp195.i = fsub float %tmp194.i53, 8.000000e+00 ; <float> [#uses=1]
%tmp195.i.upgrd.1 = bitcast float %tmp195.i to i32 ; <i32> [#uses=1]
- br i1 false, label %cond_next182.i, label %bb418.i.preheader
+ br i1 undef, label %cond_next182.i, label %bb418.i.preheader
bb418.i.preheader: ; preds = %cond_next182.i
ret void