mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159242 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			10 lines
		
	
	
		
			228 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			228 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s 
 | |
| 
 | |
| define i32 @foo(i32 %a) nounwind readnone {
 | |
| entry:
 | |
| ; check that stack size is zero.
 | |
| ; CHECK-NOT: addiu $sp, $sp
 | |
|   %add = add nsw i32 %a, 1
 | |
|   ret i32 %add
 | |
| }
 |