1 ; RUN: llc < %s -march=arm -mtriple=armv6-apple-darwin9 2 3 @XX = external global i32* ; <i32**> [#uses=1] 4 5 define void @SIM(i8* %A, i8* %B, i32 %M, i32 %N, i32 %K, [256 x i32]* %V, i32 %Q, i32 %R, i32 %nseq) nounwind { 6 entry: 7 br i1 undef, label %bb5, label %bb 8 9 bb: ; preds = %bb, %entry 10 br label %bb 11 12 bb5: ; preds = %entry 13 br i1 undef, label %bb6, label %bb8 14 15 bb6: ; preds = %bb6, %bb5 16 br i1 undef, label %bb8, label %bb6 17 18 bb8: ; preds = %bb6, %bb5 19 br label %bb15 20 21 bb9: ; preds = %bb15 22 br i1 undef, label %bb10, label %bb11 23 24 bb10: ; preds = %bb9 25 unreachable 26 27 bb11: ; preds = %bb9 28 br i1 undef, label %bb15, label %bb12 29 30 bb12: ; preds = %bb11 31 %0 = load i32*, i32** @XX, align 4 ; <i32*> [#uses=0] 32 br label %bb228.i 33 34 bb74.i: ; preds = %bb228.i 35 br i1 undef, label %bb138.i, label %bb145.i 36 37 bb138.i: ; preds = %bb74.i 38 br label %bb145.i 39 40 bb145.i: ; preds = %bb228.i, %bb138.i, %bb74.i 41 br i1 undef, label %bb146.i, label %bb151.i 42 43 bb146.i: ; preds = %bb145.i 44 br i1 undef, label %bb228.i, label %bb151.i 45 46 bb151.i: ; preds = %bb146.i, %bb145.i 47 br i1 undef, label %bb153.i, label %bb228.i 48 49 bb153.i: ; preds = %bb151.i 50 br i1 undef, label %bb220.i, label %bb.nph.i98 51 52 bb.nph.i98: ; preds = %bb153.i 53 br label %bb158.i 54 55 bb158.i: ; preds = %bb218.i, %bb.nph.i98 56 %1 = sub i32 undef, undef ; <i32> [#uses=4] 57 %2 = sub i32 undef, undef ; <i32> [#uses=1] 58 br i1 undef, label %bb168.i, label %bb160.i 59 60 bb160.i: ; preds = %bb158.i 61 br i1 undef, label %bb161.i, label %bb168.i 62 63 bb161.i: ; preds = %bb160.i 64 br i1 undef, label %bb168.i, label %bb163.i 65 66 bb163.i: ; preds = %bb161.i 67 br i1 undef, label %bb167.i, label %bb168.i 68 69 bb167.i: ; preds = %bb163.i 70 br label %bb168.i 71 72 bb168.i: ; preds = %bb167.i, %bb163.i, %bb161.i, %bb160.i, %bb158.i 73 %f.5.i = phi i32 [ %1, %bb167.i ], [ %2, %bb158.i ], [ %1, %bb160.i ], [ %1, %bb161.i ], [ %1, %bb163.i ] ; <i32> [#uses=1] 74 %c.14.i = select i1 undef, i32 %f.5.i, i32 undef ; <i32> [#uses=1] 75 store i32 %c.14.i, i32* undef, align 4 76 store i32 undef, i32* null, align 4 77 br i1 undef, label %bb211.i, label %bb218.i 78 79 bb211.i: ; preds = %bb168.i 80 br label %bb218.i 81 82 bb218.i: ; preds = %bb211.i, %bb168.i 83 br i1 undef, label %bb220.i, label %bb158.i 84 85 bb220.i: ; preds = %bb218.i, %bb153.i 86 br i1 undef, label %bb221.i, label %bb228.i 87 88 bb221.i: ; preds = %bb220.i 89 br label %bb228.i 90 91 bb228.i: ; preds = %bb221.i, %bb220.i, %bb151.i, %bb146.i, %bb12 92 br i1 undef, label %bb74.i, label %bb145.i 93 94 bb15: ; preds = %bb11, %bb8 95 br i1 undef, label %return, label %bb9 96 97 return: ; preds = %bb15 98 ret void 99 } 100