Home | History | Annotate | Download | only in CodeExtractor
      1 ; RUN: opt < %s -extract-blocks -disable-output
      2 define i32 @foo() {
      3         br label %EB
      4 
      5 EB:             ; preds = %0
      6         %V = invoke i32 @foo( )
      7                         to label %Cont unwind label %Unw                ; <i32> [#uses=1]
      8 
      9 Cont:           ; preds = %EB
     10         ret i32 %V
     11 
     12 Unw:            ; preds = %EB
     13         %exn = landingpad { i8*, i32 } personality i32 (...)* @__gcc_personality_v0
     14                  catch i8* null
     15         resume { i8*, i32 } %exn
     16 }
     17 
     18 declare i32 @__gcc_personality_v0(...)
     19