mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223125 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			13 lines
		
	
	
		
			347 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			347 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llc < %s -mtriple=r600--amdhsa -mcpu=kaveri | FileCheck --check-prefix=HSA %s
 | |
| 
 | |
| ; HSA: {{^}}simple:
 | |
| ; Make sure we are setting the ATC bit:
 | |
| ; HSA: s_mov_b32 s[[HI:[0-9]]], 0x100f000
 | |
| ; HSA: buffer_store_dword v{{[0-9]+}}, s[0:[[HI]]], 0
 | |
| 
 | |
| define void @simple(i32 addrspace(1)* %out) {
 | |
| entry:
 | |
|   store i32 0, i32 addrspace(1)* %out
 | |
|   ret void
 | |
| }
 |