test commit
[oota-llvm.git] / test / ExecutionEngine / test-setcond-int.ll
index 2de9d4d630c3d45ff5cd4782f5befe7ac4e234db..48dc02198ec0e18419e6a00bf8787d33c60e47de 100644 (file)
@@ -1,68 +1,69 @@
+; RUN: %lli %s > /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
 }