llvm-6502/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll
2006-12-02 04:23:10 +00:00

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
}