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@138908 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			23 lines
		
	
	
		
			576 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			576 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
; RUN: opt < %s -adce -disable-output
 | 
						|
 | 
						|
define void @test() {
 | 
						|
        br i1 false, label %then, label %endif
 | 
						|
 | 
						|
then:           ; preds = %0
 | 
						|
        invoke void null( i8* null )
 | 
						|
                        to label %invoke_cont unwind label %invoke_catch
 | 
						|
 | 
						|
invoke_catch:           ; preds = %then
 | 
						|
        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
 | 
						|
                 cleanup
 | 
						|
        resume { i8*, i32 } %exn
 | 
						|
 | 
						|
invoke_cont:            ; preds = %then
 | 
						|
        ret void
 | 
						|
 | 
						|
endif:          ; preds = %0
 | 
						|
        ret void
 | 
						|
}
 | 
						|
 | 
						|
declare i32 @__gxx_personality_v0(...)
 |