1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu.5 -mcpu=g5
4 %struct..0EdgeT = type { i32, i32, float, float, i32, i32, i32, float, i32, i32 }
6 define void @smooth_color_z_triangle(i32 %v0, i32 %v1, i32 %v2, i32 %pv) nounwind {
8 br i1 undef, label %return, label %bb14
10 bb14: ; preds = %entry
11 br i1 undef, label %bb15, label %return
14 br i1 undef, label %bb16, label %bb17
19 bb17: ; preds = %bb16, %bb15
20 %0 = fcmp olt float undef, 0.000000e+00 ; <i1> [#uses=2]
21 %eTop.eMaj = select i1 %0, %struct..0EdgeT* undef, %struct..0EdgeT* null ; <%struct..0EdgeT*> [#uses=1]
25 br i1 undef, label %bb25, label %bb28
31 br i1 undef, label %return, label %bb32
34 br i1 %0, label %bb38, label %bb33
36 bb33: ; preds = %bb32, %bb25
37 br i1 undef, label %bb34, label %bb38
42 bb38: ; preds = %bb34, %bb33, %bb32
43 %eRight.08 = phi %struct..0EdgeT* [ %eTop.eMaj, %bb32 ], [ undef, %bb34 ], [ undef, %bb33 ] ; <%struct..0EdgeT*> [#uses=0]
44 %fdgOuter.0 = phi i32 [ %fdgOuter.1, %bb32 ], [ undef, %bb34 ], [ %fdgOuter.1, %bb33 ] ; <i32> [#uses=1]
45 %fz.3 = phi i32 [ %fz.2, %bb32 ], [ 2147483647, %bb34 ], [ %fz.2, %bb33 ] ; <i32> [#uses=1]
46 %1 = add i32 undef, 1 ; <i32> [#uses=0]
49 bb69: ; preds = %bb38, %bb17
50 %fdgOuter.1 = phi i32 [ undef, %bb17 ], [ %fdgOuter.0, %bb38 ] ; <i32> [#uses=2]
51 %fz.2 = phi i32 [ undef, %bb17 ], [ %fz.3, %bb38 ] ; <i32> [#uses=2]
52 br i1 undef, label %bb24, label %return
54 return: ; preds = %bb69, %bb28, %bb14, %entry