mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-23 04:52:54 +02:00
c072619922
llvm-svn: 47793
16 lines
350 B
LLVM
16 lines
350 B
LLVM
; RUN: llvm-as < %s | opt -extract-blocks -disable-output
|
|
define i32 @foo() {
|
|
br label %EB
|
|
|
|
EB: ; preds = %0
|
|
%V = invoke i32 @foo( )
|
|
to label %Cont unwind label %Unw ; <i32> [#uses=1]
|
|
|
|
Cont: ; preds = %EB
|
|
ret i32 %V
|
|
|
|
Unw: ; preds = %EB
|
|
unwind
|
|
}
|
|
|