blob: 6436131185d9a2bdb6e18eb67375da1e15410996 [file] [log] [blame]
Tanya Lattnere9789ef2004-11-06 23:32:43 +00001; RUN: llvm-as -f %s -o %t.bc
2; RUN: lli %t.bc > /dev/null
3
Brian Gaeke1749d632002-11-07 17:59:21 +00004
Misha Brukmand74317a2002-12-13 05:43:36 +00005int %main() {
Brian Gaeke1749d632002-11-07 17:59:21 +00006 %int1 = add int 0, 0
7 %int2 = add int 0, 0
Chris Lattner6ce8d602003-01-13 00:57:37 +00008 %long1 = add long 0, 0
9 %long2 = add long 0, 0
Brian Gaeke1749d632002-11-07 17:59:21 +000010 %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
Chris Lattner6ce8d602003-01-13 00:57:37 +000018 %ulong1 = add ulong 0, 0
19 %ulong2 = add ulong 0, 0
Brian Gaeke1749d632002-11-07 17:59:21 +000020 %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
Chris Lattner6ce8d602003-01-13 00:57:37 +000040 %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
Brian Gaeke1749d632002-11-07 17:59:21 +000046 %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
Chris Lattner6ce8d602003-01-13 00:57:37 +000064 %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
Misha Brukmand74317a2002-12-13 05:43:36 +000070 ret int 0
Brian Gaeke1749d632002-11-07 17:59:21 +000071}