mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176796 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			14 lines
		
	
	
		
			381 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			381 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llc -mtriple=armv7 < %s
 | |
| ; PR15053
 | |
| 
 | |
| declare i32 @llvm.arm.strexd(i32, i32, i8*) nounwind
 | |
| declare { i32, i32 } @llvm.arm.ldrexd(i8*) nounwind readonly
 | |
| 
 | |
| define void @foo() {
 | |
| entry:
 | |
|   %0 = tail call { i32, i32 } @llvm.arm.ldrexd(i8* undef) nounwind
 | |
|   %1 = extractvalue { i32, i32 } %0, 0
 | |
|   %2 = tail call i32 @llvm.arm.strexd(i32 %1, i32 undef, i8* undef) nounwind
 | |
|   ret void
 | |
| }
 |