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