mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Check for that and try narrowing it to tADDspi instead. Radar 8724703. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120892 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			12 lines
		
	
	
		
			322 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			322 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s
 | |
| ; Radar 8724703: Make sure that a t2ADDrSPi instruction with SP as the
 | |
| ; destination register is narrowed to tADDspi instead of tADDrSPi.
 | |
| 
 | |
| define void @test() nounwind {
 | |
| entry:
 | |
| ; CHECK: sub.w
 | |
| ; CHECK: add.w
 | |
|   %Buffer.i = alloca [512 x i8], align 4
 | |
|   ret void
 | |
| }
 |