mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +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
		
			
				
	
	
		
			17 lines
		
	
	
		
			304 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			304 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: opt < %s -loopsimplify
 | |
| 
 | |
| ; This function should get a preheader inserted before BB3, that is jumped
 | |
| ; to by BB1 & BB2
 | |
| ;
 | |
| 
 | |
| define void @test() {
 | |
| 	br i1 true, label %BB1, label %BB2
 | |
| BB1:		; preds = %0
 | |
| 	br label %BB3
 | |
| BB2:		; preds = %0
 | |
| 	br label %BB3
 | |
| BB3:		; preds = %BB3, %BB2, %BB1
 | |
| 	br label %BB3
 | |
| }
 | |
| 
 |