1 ; RUN: llc < %s -march=x86-64 2 ; PR6086 3 define fastcc void @prepOutput() nounwind { 4 bb: ; preds = %output.exit 5 br label %bb.i1 6 7 bb.i1: ; preds = %bb7.i, %bb 8 br i1 undef, label %bb7.i, label %bb.nph.i 9 10 bb.nph.i: ; preds = %bb.i1 11 br label %bb3.i 12 13 bb3.i: ; preds = %bb5.i6, %bb.nph.i 14 %tmp10.i = trunc i64 undef to i32 ; <i32> [#uses=1] 15 br i1 undef, label %bb4.i, label %bb5.i6 16 17 bb4.i: ; preds = %bb3.i 18 br label %bb5.i6 19 20 bb5.i6: ; preds = %bb4.i, %bb3.i 21 %0 = phi i32 [ undef, %bb4.i ], [ undef, %bb3.i ] ; <i32> [#uses=1] 22 %1 = icmp slt i32 %0, %tmp10.i ; <i1> [#uses=1] 23 br i1 %1, label %bb7.i, label %bb3.i 24 25 bb7.i: ; preds = %bb5.i6, %bb.i1 26 br label %bb.i1 27 } 28