1 ; RUN: llvm-as < %s | opt -loop-rotate -disable-output
3 define void @findAllPairs() {
5 br i1 false, label %bb139, label %cond_true
6 cond_true: ; preds = %entry
9 br i1 false, label %bb136, label %cond_next121
10 cond_next121: ; preds = %bb90
11 br i1 false, label %bb136, label %bb127
12 bb127: ; preds = %cond_next121
14 bb136: ; preds = %bb127, %cond_next121, %bb90
15 %changes.1 = phi i32 [ %changes.2, %bb90 ], [ %changes.2, %cond_next121 ], [ 1, %bb127 ] ; <i32> [#uses=1]
17 bb139: ; preds = %bb136, %entry
18 %changes.2 = phi i32 [ %changes.1, %bb136 ], [ 0, %entry ] ; <i32> [#uses=3]
19 br i1 false, label %bb90, label %bb142
20 bb142: ; preds = %bb139
21 %changes.2.lcssa = phi i32 [ %changes.2, %bb139 ] ; <i32> [#uses=0]