2009-09-09 00:50:01 +08:00
|
|
|
; RUN: opt %s -indvars -disable-output
|
2004-04-08 00:17:45 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
define void @.outPlank_21() {
|
2004-04-08 00:17:45 +08:00
|
|
|
entry:
|
2008-03-01 17:15:35 +08:00
|
|
|
br i1 false, label %loopexit.0, label %no_exit.0
|
2004-04-08 00:17:45 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
no_exit.0: ; preds = %entry
|
|
|
|
ret void
|
2004-04-08 00:17:45 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
loopexit.0: ; preds = %entry
|
|
|
|
br i1 false, label %no_exit.1, label %loopexit.1
|
2004-04-08 00:17:45 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
no_exit.1: ; preds = %loopexit.2, %loopexit.0
|
|
|
|
%i.0.0 = phi i32 [ %inc, %loopexit.2 ], [ 0, %loopexit.0 ] ; <i32> [#uses=1]
|
|
|
|
br i1 false, label %loopexit.2, label %no_exit.2
|
2004-04-08 00:17:45 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
no_exit.2: ; preds = %no_exit.1
|
|
|
|
ret void
|
2004-04-08 00:17:45 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
loopexit.2: ; preds = %no_exit.1
|
|
|
|
%inc = add i32 %i.0.0, 1 ; <i32> [#uses=1]
|
|
|
|
br i1 false, label %no_exit.1, label %loopexit.1
|
2004-04-08 00:17:45 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
loopexit.1: ; preds = %loopexit.2, %loopexit.0
|
|
|
|
ret void
|
2004-04-08 00:17:45 +08:00
|
|
|
}
|
2008-03-01 17:15:35 +08:00
|
|
|
|