Added some if-conversion tests.
[oota-llvm.git] / test / ExecutionEngine / test-setcond-int.ll
1 ; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
3
4
5 int %main() {
6         %int1 = add int 0, 0
7         %int2 = add int 0, 0
8         %long1 = add long 0, 0
9         %long2 = add long 0, 0
10         %sbyte1 = add sbyte 0, 0
11         %sbyte2 = add sbyte 0, 0
12         %short1 = add short 0, 0
13         %short2 = add short 0, 0
14         %ubyte1 = add ubyte 0, 0
15         %ubyte2 = add ubyte 0, 0
16         %uint1 = add uint 0, 0
17         %uint2 = add uint 0, 0
18         %ulong1 = add ulong 0, 0
19         %ulong2 = add ulong 0, 0
20         %ushort1 = add ushort 0, 0
21         %ushort2 = add ushort 0, 0
22         %test1 = seteq ubyte %ubyte1, %ubyte2
23         %test2 = setge ubyte %ubyte1, %ubyte2
24         %test3 = setgt ubyte %ubyte1, %ubyte2
25         %test4 = setle ubyte %ubyte1, %ubyte2
26         %test5 = setlt ubyte %ubyte1, %ubyte2
27         %test6 = setne ubyte %ubyte1, %ubyte2
28         %test7 = seteq ushort %ushort1, %ushort2
29         %test8 = setge ushort %ushort1, %ushort2
30         %test9 = setgt ushort %ushort1, %ushort2
31         %test10 = setle ushort %ushort1, %ushort2
32         %test11 = setlt ushort %ushort1, %ushort2
33         %test12 = setne ushort %ushort1, %ushort2
34         %test13 = seteq uint %uint1, %uint2
35         %test14 = setge uint %uint1, %uint2
36         %test15 = setgt uint %uint1, %uint2
37         %test16 = setle uint %uint1, %uint2
38         %test17 = setlt uint %uint1, %uint2
39         %test18 = setne uint %uint1, %uint2
40         %test19 = seteq ulong %ulong1, %ulong2
41         %test20 = setge ulong %ulong1, %ulong2
42         %test21 = setgt ulong %ulong1, %ulong2
43         %test22 = setle ulong %ulong1, %ulong2
44         %test23 = setlt ulong %ulong1, %ulong2
45         %test24 = setne ulong %ulong1, %ulong2
46         %test25 = seteq sbyte %sbyte1, %sbyte2
47         %test26 = setge sbyte %sbyte1, %sbyte2
48         %test27 = setgt sbyte %sbyte1, %sbyte2
49         %test28 = setle sbyte %sbyte1, %sbyte2
50         %test29 = setlt sbyte %sbyte1, %sbyte2
51         %test30 = setne sbyte %sbyte1, %sbyte2
52         %test31 = seteq short %short1, %short2
53         %test32 = setge short %short1, %short2
54         %test33 = setgt short %short1, %short2
55         %test34 = setle short %short1, %short2
56         %test35 = setlt short %short1, %short2
57         %test36 = setne short %short1, %short2
58         %test37 = seteq int %int1, %int2
59         %test38 = setge int %int1, %int2
60         %test39 = setgt int %int1, %int2
61         %test40 = setle int %int1, %int2
62         %test41 = setlt int %int1, %int2
63         %test42 = setne int %int1, %int2
64         %test43 = seteq long %long1, %long2
65         %test44 = setge long %long1, %long2
66         %test45 = setgt long %long1, %long2
67         %test46 = setle long %long1, %long2
68         %test47 = setlt long %long1, %long2
69         %test48 = setne long %long1, %long2
70         ret int 0
71 }