Home | History | Annotate | Download | only in Inline
      1 ; RUN: opt < %s -inline -loop-rotate -verify-dom-info -verify-loop-info -disable-output
      2 ; PR3601
      3 declare void @solve()
      4 
      5 define internal fastcc void @read() {
      6 	br label %bb4
      7 
      8 bb3:
      9 	br label %bb4
     10 
     11 bb4:
     12 	call void @solve()
     13 	br i1 false, label %bb5, label %bb3
     14 
     15 bb5:
     16 	unreachable
     17 }
     18 
     19 define internal fastcc void @parse() {
     20 	call fastcc void @read()
     21 	ret void
     22 }
     23 
     24 define void @main() {
     25 	invoke fastcc void @parse()
     26 			to label %invcont unwind label %lpad
     27 
     28 invcont:
     29 	unreachable
     30 
     31 lpad:
     32         %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
     33                  cleanup
     34 	unreachable
     35 }
     36 declare i32 @__gxx_personality_v0(...)
     37