mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140177 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			19 lines
		
	
	
		
			513 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			513 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: opt < %s -extract-blocks -disable-output
 | |
| define i32 @foo() {
 | |
|         br label %EB
 | |
| 
 | |
| EB:             ; preds = %0
 | |
|         %V = invoke i32 @foo( )
 | |
|                         to label %Cont unwind label %Unw                ; <i32> [#uses=1]
 | |
| 
 | |
| Cont:           ; preds = %EB
 | |
|         ret i32 %V
 | |
| 
 | |
| Unw:            ; preds = %EB
 | |
|         %exn = landingpad { i8*, i32 } personality i32 (...)* @__gcc_personality_v0
 | |
|                  catch i8* null
 | |
|         resume { i8*, i32 } %exn
 | |
| }
 | |
| 
 | |
| declare i32 @__gcc_personality_v0(...)
 |