2008-03-01 09:15:35 +00:00
|
|
|
; RUN: llvm-as < %s | opt -indvars -disable-output
|
2004-04-07 16:17:45 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define void @.outPlank_21() {
|
2004-04-07 16:17:45 +00:00
|
|
|
entry:
|
2008-03-01 09:15:35 +00:00
|
|
|
br i1 false, label %loopexit.0, label %no_exit.0
|
2004-04-07 16:17:45 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
no_exit.0: ; preds = %entry
|
|
|
|
ret void
|
2004-04-07 16:17:45 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
loopexit.0: ; preds = %entry
|
|
|
|
br i1 false, label %no_exit.1, label %loopexit.1
|
2004-04-07 16:17:45 +00:00
|
|
|
|
2008-03-01 09:15:35 +00: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-07 16:17:45 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
no_exit.2: ; preds = %no_exit.1
|
|
|
|
ret void
|
2004-04-07 16:17:45 +00:00
|
|
|
|
2008-03-01 09:15:35 +00: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-07 16:17:45 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
loopexit.1: ; preds = %loopexit.2, %loopexit.0
|
|
|
|
ret void
|
2004-04-07 16:17:45 +00:00
|
|
|
}
|
2008-03-01 09:15:35 +00:00
|
|
|
|