mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-03 14:21:30 +00:00 
			
		
		
		
	input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			26 lines
		
	
	
		
			647 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			647 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
; RUN: opt < %s -loop-index-split -stats -disable-output | not grep "1 loop-index-split"
 | 
						|
; PR 2487
 | 
						|
@g_6 = external global i32		; <i32*> [#uses=1]
 | 
						|
 | 
						|
define void @func_1() nounwind  {
 | 
						|
entry:
 | 
						|
	br label %bb
 | 
						|
 | 
						|
bb:		; preds = %bb4, %entry
 | 
						|
	%l_3.0 = phi i8 [ 0, %entry ], [ %tmp6, %bb4 ]		; <i8> [#uses=2]
 | 
						|
	%tmp1 = icmp eq i8 %l_3.0, 0		; <i1> [#uses=1]
 | 
						|
	br i1 %tmp1, label %bb3, label %bb4
 | 
						|
 | 
						|
bb3:		; preds = %bb
 | 
						|
	store i32 1, i32* @g_6, align 4
 | 
						|
	br label %bb4
 | 
						|
 | 
						|
bb4:		; preds = %bb3, %bb
 | 
						|
	%tmp6 = add i8 %l_3.0, 1		; <i8> [#uses=2]
 | 
						|
	%tmp9 = icmp sgt i8 %tmp6, -1		; <i1> [#uses=1]
 | 
						|
	br i1 %tmp9, label %bb, label %return
 | 
						|
 | 
						|
return:		; preds = %bb4
 | 
						|
	ret void
 | 
						|
}
 |