1 ; RUN: opt < %s -loop-index-split -disable-output
3 %struct._edit_script = type { %struct._edit_script*, i32, i8 }
5 define void @align_path(i8* %seq1, i8* %seq2, i32 %i1, i32 %j1, i32 %i2, i32 %j2, i32 %dist, %struct._edit_script** %head, %struct._edit_script** %tail, i32 %M, i32 %N) {
9 bb354: ; preds = %bb511, %entry
10 br i1 false, label %bb495, label %bb368
12 bb368: ; preds = %bb354
15 bb495: ; preds = %bb495, %bb354
16 br i1 false, label %bb511, label %bb495
18 bb511: ; preds = %bb495
19 br i1 false, label %xmalloc.exit69, label %bb354
21 xmalloc.exit69: ; preds = %bb511
22 br i1 false, label %bb556, label %bb542.preheader
24 bb542.preheader: ; preds = %xmalloc.exit69
27 bb556: ; preds = %xmalloc.exit69
30 bb583: ; preds = %cond_next693, %bb556
31 %k.4342.0 = phi i32 [ %tmp707, %cond_next693 ], [ 0, %bb556 ] ; <i32> [#uses=2]
32 %tmp586 = icmp eq i32 %k.4342.0, 0 ; <i1> [#uses=1]
33 br i1 %tmp586, label %cond_true589, label %cond_false608
35 cond_true589: ; preds = %bb583
36 br label %cond_next693
38 cond_false608: ; preds = %bb583
39 br i1 false, label %bb645, label %cond_next693
41 bb645: ; preds = %cond_false608
42 br i1 false, label %bb684, label %cond_next661
44 cond_next661: ; preds = %bb645
45 br i1 false, label %bb684, label %cond_next693
47 bb684: ; preds = %cond_next661, %bb645
48 br label %cond_next693
50 cond_next693: ; preds = %bb684, %cond_next661, %cond_false608, %cond_true589
51 %tmp705 = getelementptr i32* null, i32 0 ; <i32*> [#uses=0]
52 %tmp707 = add i32 %k.4342.0, 1 ; <i32> [#uses=2]
53 %tmp711 = icmp sgt i32 %tmp707, 0 ; <i1> [#uses=1]
54 br i1 %tmp711, label %bb726.preheader, label %bb583
56 bb726.preheader: ; preds = %cond_next693