aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-03-19 05:39:35 +0000
committerTanya Lattner <tonic@nondot.org>2008-03-19 05:39:35 +0000
commitce7d5db4d86b6eef20ffb9e981a1f0d428879e57 (patch)
tree99ed3d8480f6747c8a0c002b3d5945cf1d5ae3bf /test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll
parentd8ff3caaa0d5dd4a7cbbe25c42d70af2e3caca7f (diff)
downloadexternal_llvm-ce7d5db4d86b6eef20ffb9e981a1f0d428879e57.zip
external_llvm-ce7d5db4d86b6eef20ffb9e981a1f0d428879e57.tar.gz
external_llvm-ce7d5db4d86b6eef20ffb9e981a1f0d428879e57.tar.bz2
Upgrade tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll')
-rw-r--r--test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll17
1 files changed, 8 insertions, 9 deletions
diff --git a/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll b/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll
index fccc6db..87e0e16 100644
--- a/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll
+++ b/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll
@@ -1,14 +1,13 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -predsimplify -disable-output
+; RUN: llvm-as < %s | opt -predsimplify -disable-output
-void %diff(int %N) {
+define void @diff(i32 %N) {
entry:
- %tmp = setgt int %N, 0 ; <bool> [#uses=1]
- br bool %tmp, label %bb519, label %bb744
-
+ %tmp = icmp sgt i32 %N, 0 ; <i1> [#uses=1]
+ br i1 %tmp, label %bb519, label %bb744
bb519: ; preds = %entry
- %tmp720101 = setlt int %N, 0 ; <bool> [#uses=1]
- br bool %tmp720101, label %bb744, label %bb744
-
-bb744: ; preds = %bb519, %entry
+ %tmp720101 = icmp slt i32 %N, 0 ; <i1> [#uses=1]
+ br i1 %tmp720101, label %bb744, label %bb744
+bb744: ; preds = %bb519, %bb519, %entry
ret void
}
+