2009-09-09 00:50:01 +08:00
|
|
|
; RUN: opt %s -loop-rotate -disable-output
|
2007-04-10 06:22:42 +08:00
|
|
|
|
2008-03-25 12:26:08 +08:00
|
|
|
define void @findAllPairs() {
|
2007-04-10 06:22:42 +08:00
|
|
|
entry:
|
|
|
|
br i1 false, label %bb139, label %cond_true
|
|
|
|
cond_true: ; preds = %entry
|
|
|
|
ret void
|
|
|
|
bb90: ; preds = %bb139
|
|
|
|
br i1 false, label %bb136, label %cond_next121
|
|
|
|
cond_next121: ; preds = %bb90
|
|
|
|
br i1 false, label %bb136, label %bb127
|
|
|
|
bb127: ; preds = %cond_next121
|
|
|
|
br label %bb136
|
|
|
|
bb136: ; preds = %bb127, %cond_next121, %bb90
|
|
|
|
%changes.1 = phi i32 [ %changes.2, %bb90 ], [ %changes.2, %cond_next121 ], [ 1, %bb127 ] ; <i32> [#uses=1]
|
|
|
|
br label %bb139
|
|
|
|
bb139: ; preds = %bb136, %entry
|
|
|
|
%changes.2 = phi i32 [ %changes.1, %bb136 ], [ 0, %entry ] ; <i32> [#uses=3]
|
|
|
|
br i1 false, label %bb90, label %bb142
|
|
|
|
bb142: ; preds = %bb139
|
|
|
|
%changes.2.lcssa = phi i32 [ %changes.2, %bb139 ] ; <i32> [#uses=0]
|
|
|
|
ret void
|
|
|
|
}
|
2008-03-25 12:26:08 +08:00
|
|
|
|