mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	matches what llvm-gcc and clang now produce. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106221 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			18 lines
		
	
	
		
			292 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			292 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
; RUN: llc < %s
 | 
						|
; PR4975
 | 
						|
 | 
						|
%0 = type <{ [0 x i32] }>
 | 
						|
%union.T0 = type { }
 | 
						|
 | 
						|
@.str = private constant [1 x i8] c" "
 | 
						|
 | 
						|
define void @t(%0) nounwind {
 | 
						|
entry:
 | 
						|
  %arg0 = alloca %union.T0
 | 
						|
  %1 = bitcast %union.T0* %arg0 to %0*
 | 
						|
  store %0 %0, %0* %1, align 1
 | 
						|
  ret void
 | 
						|
}
 | 
						|
 | 
						|
declare i32 @printf(i8*, ...)
 |