2009-09-11 18:01:28 +00:00
|
|
|
; RUN: opt < %s -loop-extract -disable-output
|
2004-03-18 05:33:39 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define void @maketree() {
|
2004-03-18 05:33:39 +00:00
|
|
|
entry:
|
2008-03-01 09:15:35 +00:00
|
|
|
br i1 false, label %no_exit.1, label %loopexit.0
|
2004-03-18 05:33:39 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
no_exit.1: ; preds = %endif, %expandbox.entry, %entry
|
|
|
|
br i1 false, label %endif, label %expandbox.entry
|
2004-03-18 05:33:39 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
expandbox.entry: ; preds = %no_exit.1
|
|
|
|
br i1 false, label %loopexit.1, label %no_exit.1
|
2004-03-18 05:33:39 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
endif: ; preds = %no_exit.1
|
|
|
|
br i1 false, label %loopexit.1, label %no_exit.1
|
2004-03-18 05:33:39 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
loopexit.1: ; preds = %endif, %expandbox.entry
|
|
|
|
%ic.i.0.0.4 = phi i32 [ 0, %expandbox.entry ], [ 0, %endif ] ; <i32> [#uses=0]
|
|
|
|
ret void
|
2004-03-18 05:33:39 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
loopexit.0: ; preds = %entry
|
|
|
|
ret void
|
2004-03-18 05:33:39 +00:00
|
|
|
}
|
2008-03-01 09:15:35 +00:00
|
|
|
|