llvm-6502/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll

11 lines
194 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | opt -extract-blocks -disable-output
int %foo() {
br label %EB
EB:
%V = invoke int %foo() to label %Cont unwind label %Unw
Cont:
ret int %V
Unw:
unwind
}