mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21283 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			12 lines
		
	
	
		
			273 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			273 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
; Make sure this testcase codegens to the bic instruction
 | 
						|
; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
 | 
						|
 | 
						|
implementation   ; Functions:
 | 
						|
 | 
						|
ushort %foo(long %y) {
 | 
						|
entry:
 | 
						|
        %tmp.1 = cast long %y to ushort         ; <ushort> [#uses=1]
 | 
						|
        ret ushort %tmp.1
 | 
						|
}
 | 
						|
 |