Home | History | Annotate | Download | only in X86
      1 ; REQUIRES: asserts
      2 ; RUN: llc < %s -mtriple=x86_64-appel-darwin -disable-cgp-branch-opts -stats 2>&1 | grep "machine-sink"
      3 
      4 define fastcc void @t() nounwind ssp {
      5 entry:
      6   br i1 undef, label %bb, label %bb4
      7 
      8 bb:                                               ; preds = %entry
      9   br i1 undef, label %return, label %bb3
     10 
     11 bb3:                                              ; preds = %bb
     12   unreachable
     13 
     14 bb4:                                              ; preds = %entry
     15   br i1 undef, label %bb.nph, label %return
     16 
     17 bb.nph:                                           ; preds = %bb4
     18   br label %bb5
     19 
     20 bb5:                                              ; preds = %bb9, %bb.nph
     21   %indvar = phi i64 [ 0, %bb.nph ], [ %tmp12, %bb9 ] ; <i64> [#uses=1]
     22   %tmp12 = add i64 %indvar, 1                     ; <i64> [#uses=2]
     23   %tmp13 = trunc i64 %tmp12 to i32                ; <i32> [#uses=0]
     24   br i1 undef, label %bb9, label %bb6
     25 
     26 bb6:                                              ; preds = %bb5
     27   br i1 undef, label %bb9, label %bb7
     28 
     29 bb7:                                              ; preds = %bb6
     30   br i1 undef, label %bb9, label %bb8
     31 
     32 bb8:                                              ; preds = %bb7
     33   unreachable
     34 
     35 bb9:                                              ; preds = %bb7, %bb6, %bb5
     36   br i1 undef, label %bb5, label %return
     37 
     38 return:                                           ; preds = %bb9, %bb4, %bb
     39   ret void
     40 }
     41