summaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/test-setcond-int.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-03-10 07:21:50 +0000
committerTanya Lattner <tonic@nondot.org>2008-03-10 07:21:50 +0000
commitceca194c4355224723b309a3a27c5e5bc19cb6fc (patch)
treed976e8cf9d933c32868d72a94d1ec2d9d7205735 /test/ExecutionEngine/test-setcond-int.ll
parentf79e60649a5edea03bdccf8521d77c15cbb33af4 (diff)
downloadllvm-ceca194c4355224723b309a3a27c5e5bc19cb6fc.tar.gz
llvm-ceca194c4355224723b309a3a27c5e5bc19cb6fc.tar.bz2
llvm-ceca194c4355224723b309a3a27c5e5bc19cb6fc.tar.xz
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/test-setcond-int.ll')
-rw-r--r--test/ExecutionEngine/test-setcond-int.ll135
1 files changed, 67 insertions, 68 deletions
diff --git a/test/ExecutionEngine/test-setcond-int.ll b/test/ExecutionEngine/test-setcond-int.ll
index db5b48b900..5ec4ec936d 100644
--- a/test/ExecutionEngine/test-setcond-int.ll
+++ b/test/ExecutionEngine/test-setcond-int.ll
@@ -1,71 +1,70 @@
-; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
+; RUN: llvm-as < %s -f -o %t.bc
; RUN: lli %t.bc > /dev/null
-
-int %main() {
- %int1 = add int 0, 0
- %int2 = add int 0, 0
- %long1 = add long 0, 0
- %long2 = add long 0, 0
- %sbyte1 = add sbyte 0, 0
- %sbyte2 = add sbyte 0, 0
- %short1 = add short 0, 0
- %short2 = add short 0, 0
- %ubyte1 = add ubyte 0, 0
- %ubyte2 = add ubyte 0, 0
- %uint1 = add uint 0, 0
- %uint2 = add uint 0, 0
- %ulong1 = add ulong 0, 0
- %ulong2 = add ulong 0, 0
- %ushort1 = add ushort 0, 0
- %ushort2 = add ushort 0, 0
- %test1 = seteq ubyte %ubyte1, %ubyte2
- %test2 = setge ubyte %ubyte1, %ubyte2
- %test3 = setgt ubyte %ubyte1, %ubyte2
- %test4 = setle ubyte %ubyte1, %ubyte2
- %test5 = setlt ubyte %ubyte1, %ubyte2
- %test6 = setne ubyte %ubyte1, %ubyte2
- %test7 = seteq ushort %ushort1, %ushort2
- %test8 = setge ushort %ushort1, %ushort2
- %test9 = setgt ushort %ushort1, %ushort2
- %test10 = setle ushort %ushort1, %ushort2
- %test11 = setlt ushort %ushort1, %ushort2
- %test12 = setne ushort %ushort1, %ushort2
- %test13 = seteq uint %uint1, %uint2
- %test14 = setge uint %uint1, %uint2
- %test15 = setgt uint %uint1, %uint2
- %test16 = setle uint %uint1, %uint2
- %test17 = setlt uint %uint1, %uint2
- %test18 = setne uint %uint1, %uint2
- %test19 = seteq ulong %ulong1, %ulong2
- %test20 = setge ulong %ulong1, %ulong2
- %test21 = setgt ulong %ulong1, %ulong2
- %test22 = setle ulong %ulong1, %ulong2
- %test23 = setlt ulong %ulong1, %ulong2
- %test24 = setne ulong %ulong1, %ulong2
- %test25 = seteq sbyte %sbyte1, %sbyte2
- %test26 = setge sbyte %sbyte1, %sbyte2
- %test27 = setgt sbyte %sbyte1, %sbyte2
- %test28 = setle sbyte %sbyte1, %sbyte2
- %test29 = setlt sbyte %sbyte1, %sbyte2
- %test30 = setne sbyte %sbyte1, %sbyte2
- %test31 = seteq short %short1, %short2
- %test32 = setge short %short1, %short2
- %test33 = setgt short %short1, %short2
- %test34 = setle short %short1, %short2
- %test35 = setlt short %short1, %short2
- %test36 = setne short %short1, %short2
- %test37 = seteq int %int1, %int2
- %test38 = setge int %int1, %int2
- %test39 = setgt int %int1, %int2
- %test40 = setle int %int1, %int2
- %test41 = setlt int %int1, %int2
- %test42 = setne int %int1, %int2
- %test43 = seteq long %long1, %long2
- %test44 = setge long %long1, %long2
- %test45 = setgt long %long1, %long2
- %test46 = setle long %long1, %long2
- %test47 = setlt long %long1, %long2
- %test48 = setne long %long1, %long2
- ret int 0
+define i32 @main() {
+ %int1 = add i32 0, 0 ; <i32> [#uses=6]
+ %int2 = add i32 0, 0 ; <i32> [#uses=6]
+ %long1 = add i64 0, 0 ; <i64> [#uses=6]
+ %long2 = add i64 0, 0 ; <i64> [#uses=6]
+ %sbyte1 = add i8 0, 0 ; <i8> [#uses=6]
+ %sbyte2 = add i8 0, 0 ; <i8> [#uses=6]
+ %short1 = add i16 0, 0 ; <i16> [#uses=6]
+ %short2 = add i16 0, 0 ; <i16> [#uses=6]
+ %ubyte1 = add i8 0, 0 ; <i8> [#uses=6]
+ %ubyte2 = add i8 0, 0 ; <i8> [#uses=6]
+ %uint1 = add i32 0, 0 ; <i32> [#uses=6]
+ %uint2 = add i32 0, 0 ; <i32> [#uses=6]
+ %ulong1 = add i64 0, 0 ; <i64> [#uses=6]
+ %ulong2 = add i64 0, 0 ; <i64> [#uses=6]
+ %ushort1 = add i16 0, 0 ; <i16> [#uses=6]
+ %ushort2 = add i16 0, 0 ; <i16> [#uses=6]
+ %test1 = icmp eq i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
+ %test2 = icmp uge i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
+ %test3 = icmp ugt i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
+ %test4 = icmp ule i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
+ %test5 = icmp ult i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
+ %test6 = icmp ne i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
+ %test7 = icmp eq i16 %ushort1, %ushort2 ; <i1> [#uses=0]
+ %test8 = icmp uge i16 %ushort1, %ushort2 ; <i1> [#uses=0]
+ %test9 = icmp ugt i16 %ushort1, %ushort2 ; <i1> [#uses=0]
+ %test10 = icmp ule i16 %ushort1, %ushort2 ; <i1> [#uses=0]
+ %test11 = icmp ult i16 %ushort1, %ushort2 ; <i1> [#uses=0]
+ %test12 = icmp ne i16 %ushort1, %ushort2 ; <i1> [#uses=0]
+ %test13 = icmp eq i32 %uint1, %uint2 ; <i1> [#uses=0]
+ %test14 = icmp uge i32 %uint1, %uint2 ; <i1> [#uses=0]
+ %test15 = icmp ugt i32 %uint1, %uint2 ; <i1> [#uses=0]
+ %test16 = icmp ule i32 %uint1, %uint2 ; <i1> [#uses=0]
+ %test17 = icmp ult i32 %uint1, %uint2 ; <i1> [#uses=0]
+ %test18 = icmp ne i32 %uint1, %uint2 ; <i1> [#uses=0]
+ %test19 = icmp eq i64 %ulong1, %ulong2 ; <i1> [#uses=0]
+ %test20 = icmp uge i64 %ulong1, %ulong2 ; <i1> [#uses=0]
+ %test21 = icmp ugt i64 %ulong1, %ulong2 ; <i1> [#uses=0]
+ %test22 = icmp ule i64 %ulong1, %ulong2 ; <i1> [#uses=0]
+ %test23 = icmp ult i64 %ulong1, %ulong2 ; <i1> [#uses=0]
+ %test24 = icmp ne i64 %ulong1, %ulong2 ; <i1> [#uses=0]
+ %test25 = icmp eq i8 %sbyte1, %sbyte2 ; <i1> [#uses=0]
+ %test26 = icmp sge i8 %sbyte1, %sbyte2 ; <i1> [#uses=0]
+ %test27 = icmp sgt i8 %sbyte1, %sbyte2 ; <i1> [#uses=0]
+ %test28 = icmp sle i8 %sbyte1, %sbyte2 ; <i1> [#uses=0]
+ %test29 = icmp slt i8 %sbyte1, %sbyte2 ; <i1> [#uses=0]
+ %test30 = icmp ne i8 %sbyte1, %sbyte2 ; <i1> [#uses=0]
+ %test31 = icmp eq i16 %short1, %short2 ; <i1> [#uses=0]
+ %test32 = icmp sge i16 %short1, %short2 ; <i1> [#uses=0]
+ %test33 = icmp sgt i16 %short1, %short2 ; <i1> [#uses=0]
+ %test34 = icmp sle i16 %short1, %short2 ; <i1> [#uses=0]
+ %test35 = icmp slt i16 %short1, %short2 ; <i1> [#uses=0]
+ %test36 = icmp ne i16 %short1, %short2 ; <i1> [#uses=0]
+ %test37 = icmp eq i32 %int1, %int2 ; <i1> [#uses=0]
+ %test38 = icmp sge i32 %int1, %int2 ; <i1> [#uses=0]
+ %test39 = icmp sgt i32 %int1, %int2 ; <i1> [#uses=0]
+ %test40 = icmp sle i32 %int1, %int2 ; <i1> [#uses=0]
+ %test41 = icmp slt i32 %int1, %int2 ; <i1> [#uses=0]
+ %test42 = icmp ne i32 %int1, %int2 ; <i1> [#uses=0]
+ %test43 = icmp eq i64 %long1, %long2 ; <i1> [#uses=0]
+ %test44 = icmp sge i64 %long1, %long2 ; <i1> [#uses=0]
+ %test45 = icmp sgt i64 %long1, %long2 ; <i1> [#uses=0]
+ %test46 = icmp sle i64 %long1, %long2 ; <i1> [#uses=0]
+ %test47 = icmp slt i64 %long1, %long2 ; <i1> [#uses=0]
+ %test48 = icmp ne i64 %long1, %long2 ; <i1> [#uses=0]
+ ret i32 0
}