mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	macros.The rest is some small misc. stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175950 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			19 lines
		
	
	
		
			700 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			700 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=CHECK-PIC
 | 
						|
; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC
 | 
						|
; RUN: llc -march=mipsel -mcpu=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=CHECK-PIC16
 | 
						|
; RUN: llc -march=mipsel -mcpu=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16
 | 
						|
 | 
						|
define void @count(i32 %x, i32 %y, i32 %z) noreturn nounwind readnone {
 | 
						|
entry:
 | 
						|
  br label %bosco
 | 
						|
 | 
						|
bosco:                                            ; preds = %bosco, %entry
 | 
						|
  br label %bosco
 | 
						|
}
 | 
						|
 | 
						|
; CHECK-PIC: b	$BB0_1
 | 
						|
; CHECK-STATIC: j	$BB0_1
 | 
						|
; CHECK-PIC16: b	$BB0_1
 | 
						|
; CHECK-STATIC16: b	$BB0_1
 | 
						|
 |