2 ; RUN: llc < %s -mtriple=x86_64-appel-darwin -disable-cgp-branch-opts -stats 2>&1 | grep "machine-sink"
4 define fastcc void @t() nounwind ssp {
6 br i1 undef, label %bb, label %bb4
9 br i1 undef, label %return, label %bb3
15 br i1 undef, label %bb.nph, label %return
17 bb.nph: ; preds = %bb4
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
27 br i1 undef, label %bb9, label %bb7
30 br i1 undef, label %bb9, label %bb8
35 bb9: ; preds = %bb7, %bb6, %bb5
36 br i1 undef, label %bb5, label %return
38 return: ; preds = %bb9, %bb4, %bb