Home | History | Annotate | Download | only in CodeExtractor
      1 ; RUN: opt < %s -loop-extract -disable-output
      2 
      3 define void @maketree() {
      4 entry:
      5         br i1 false, label %no_exit.1, label %loopexit.0
      6 
      7 no_exit.1:              ; preds = %endif, %expandbox.entry, %entry
      8         br i1 false, label %endif, label %expandbox.entry
      9 
     10 expandbox.entry:                ; preds = %no_exit.1
     11         br i1 false, label %loopexit.1, label %no_exit.1
     12 
     13 endif:          ; preds = %no_exit.1
     14         br i1 false, label %loopexit.1, label %no_exit.1
     15 
     16 loopexit.1:             ; preds = %endif, %expandbox.entry
     17         %ic.i.0.0.4 = phi i32 [ 0, %expandbox.entry ], [ 0, %endif ]            ; <i32> [#uses=0]
     18         ret void
     19 
     20 loopexit.0:             ; preds = %entry
     21         ret void
     22 }
     23 
     24