mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	Testcase added. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196269 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			8 lines
		
	
	
		
			244 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			244 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llc < %s -march=arm
 | |
| 
 | |
| ; Check that codegen for an addrspace cast succeeds without error.
 | |
| define <4 x i32 addrspace(1)*> @f (<4 x i32*> %x) {
 | |
|   %1 = addrspacecast <4 x i32*> %x to <4 x i32 addrspace(1)*>
 | |
|   ret <4 x i32 addrspace(1)*> %1
 | |
| }
 |