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