2009-09-11 18:01:28 +00:00
|
|
|
; RUN: opt < %s -inline -disable-output
|
2003-09-22 22:22:41 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define i32 @main() {
|
2003-09-22 22:22:41 +00:00
|
|
|
entry:
|
2008-03-01 09:15:35 +00:00
|
|
|
invoke void @__main( )
|
|
|
|
to label %else unwind label %RethrowExcept
|
2003-09-22 22:22:41 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
else: ; preds = %LJDecisionBB, %entry
|
|
|
|
%i.2 = phi i32 [ 36, %entry ], [ %i.2, %LJDecisionBB ] ; <i32> [#uses=1]
|
|
|
|
br label %LJDecisionBB
|
2003-09-22 22:22:41 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
LJDecisionBB: ; preds = %else
|
|
|
|
br label %else
|
2003-09-22 22:22:41 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
RethrowExcept: ; preds = %entry
|
|
|
|
ret i32 0
|
2003-09-22 22:22:41 +00:00
|
|
|
}
|
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define void @__main() {
|
|
|
|
ret void
|
2003-09-22 22:22:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|