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

11 lines
179 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | 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
}