summaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/test-setcond-int.ll
blob: db5b48b900a6bbb924cac1284304f1893468164c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
; RUN: llvm-upgrade < %s | llvm-as -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
}