1 ; RUN: opt < %s -loop-index-split -stats -disable-output | not grep "1 loop-index-split"
3 @g_6 = external global i32 ; <i32*> [#uses=1]
5 define void @func_1() nounwind {
9 bb: ; preds = %bb4, %entry
10 %l_3.0 = phi i8 [ 0, %entry ], [ %tmp6, %bb4 ] ; <i8> [#uses=2]
11 %tmp1 = icmp eq i8 %l_3.0, 0 ; <i1> [#uses=1]
12 br i1 %tmp1, label %bb3, label %bb4
15 store i32 1, i32* @g_6, align 4
18 bb4: ; preds = %bb3, %bb
19 %tmp6 = add i8 %l_3.0, 1 ; <i8> [#uses=2]
20 %tmp9 = icmp sgt i8 %tmp6, -1 ; <i1> [#uses=1]
21 br i1 %tmp9, label %bb, label %return
23 return: ; preds = %bb4