mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17536 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			72 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			72 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llvm-as -f %s -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
 | |
| }
 |