mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	the .ll file or it forces the V9 backend. This is the CodeGen/Generic dir, so there is no use in doing that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19355 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			19 lines
		
	
	
		
			626 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			626 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llvm-as -f %s -o - | llc
 | |
| 
 | |
| void %QRiterate(int %p.1, double %tmp.212) { 
 | |
| entry:          ; No predecessors!
 | |
|         %tmp.184 = setgt int %p.1, 0            ; <bool> [#uses=1]
 | |
|         br bool %tmp.184, label %shortcirc_next.1, label %shortcirc_done.1
 | |
| 
 | |
| shortcirc_next.1:               ; preds = %entry
 | |
|         %tmp.213 = setne double %tmp.212, 0.000000e+00
 | |
|         br label %shortcirc_done.1
 | |
| 
 | |
| shortcirc_done.1:               ; preds = %entry, %shortcirc_next.1
 | |
|         %val.1 = phi bool [ false, %entry ], [ %tmp.213, %shortcirc_next.1 ]
 | |
|         br bool %val.1, label %shortcirc_next.1, label %exit.1
 | |
| 
 | |
| exit.1:
 | |
| 	ret void
 | |
| }
 |