forked from OSchip/llvm-project
25 lines
354 B
LLVM
25 lines
354 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -inline -disable-output
|
|
implementation
|
|
|
|
int %main() {
|
|
entry:
|
|
invoke void %__main( )
|
|
to label %else except label %RethrowExcept
|
|
|
|
else:
|
|
%i.2 = phi int [ 36, %entry ], [ %i.2, %LJDecisionBB ]
|
|
br label %LJDecisionBB
|
|
|
|
LJDecisionBB:
|
|
br label %else
|
|
|
|
RethrowExcept:
|
|
ret int 0
|
|
}
|
|
|
|
void %__main() {
|
|
ret void
|
|
}
|
|
|
|
|