summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-09-13 01:59:32 +0000
committerAndrew Trick <atrick@apple.com>2011-09-13 01:59:32 +0000
commit94f2c23d24b3ca682ea192f1d9a4e2c2e0f4eeb3 (patch)
tree56fe11068f62daa9bc73ea845eccf61c8dd7d41d /test
parentcee58a69fa3f0f291c0c88ce0d29099a95495ae7 (diff)
downloadllvm-94f2c23d24b3ca682ea192f1d9a4e2c2e0f4eeb3.tar.gz
llvm-94f2c23d24b3ca682ea192f1d9a4e2c2e0f4eeb3.tar.bz2
llvm-94f2c23d24b3ca682ea192f1d9a4e2c2e0f4eeb3.tar.xz
[indvars] Fix bugs in floating point IV range checks noticed by inspection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/IndVarSimplify/floating-point-iv.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/IndVarSimplify/floating-point-iv.ll b/test/Transforms/IndVarSimplify/floating-point-iv.ll
index 8f4b87048a..e334f069b8 100644
--- a/test/Transforms/IndVarSimplify/floating-point-iv.ll
+++ b/test/Transforms/IndVarSimplify/floating-point-iv.ll
@@ -67,7 +67,8 @@ bb: ; preds = %bb, %entry
return:
ret void
; CHECK: @test4
-; CHECK: fcmp
+; CHECK-NOT: cmp
+; CHECK: br i1 false
}
; PR6761
@@ -84,9 +85,8 @@ define void @test5() nounwind {
exit:
ret void
-
+
; CHECK: @test5
; CHECK: icmp eq i32 {{.*}}, 10
; CHECK-NEXT: br i1
}
-