mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
8d84372836
of using llvm-as, now that opt supports this. llvm-svn: 81226
24 lines
507 B
LLVM
24 lines
507 B
LLVM
; RUN: opt %s -inline -disable-output
|
|
|
|
define i32 @main() {
|
|
entry:
|
|
invoke void @__main( )
|
|
to label %else unwind label %RethrowExcept
|
|
|
|
else: ; preds = %LJDecisionBB, %entry
|
|
%i.2 = phi i32 [ 36, %entry ], [ %i.2, %LJDecisionBB ] ; <i32> [#uses=1]
|
|
br label %LJDecisionBB
|
|
|
|
LJDecisionBB: ; preds = %else
|
|
br label %else
|
|
|
|
RethrowExcept: ; preds = %entry
|
|
ret i32 0
|
|
}
|
|
|
|
define void @__main() {
|
|
ret void
|
|
}
|
|
|
|
|