mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Update the subtarget information for Windows on ARM. This enables using the MC layer to target Windows on ARM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205459 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			17 lines
		
	
	
		
			350 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			350 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llc -mtriple=thumbv7-windows-itanium -mcpu=cortex-a9 -o - %s | FileCheck %s
 | |
| 
 | |
| ; AAPCS mandates an 8-byte stack alignment.  The alloca is implicitly aligned,
 | |
| ; and no bic is required.
 | |
| 
 | |
| declare void @callee(i8 *%i)
 | |
| 
 | |
| define void @caller() {
 | |
|   %i = alloca i8, align 8
 | |
|   call void @callee(i8* %i)
 | |
|   ret void
 | |
| }
 | |
| 
 | |
| ; CHECK: sub sp, #8
 | |
| ; CHECK-NOT: bic
 | |
| 
 |