repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implement bswap
[llvm/msp430.git]
/
test
/
Transforms
/
CodeExtractor
/
2004-11-12-InvokeExtract.ll
blob
8cd6094826681d74f417ec37c822a50fff683a74
1
; RUN: llvm-as < %s | opt -extract-blocks -disable-output
2
define i32 @foo() {
3
br label %EB
4
5
EB: ; preds = %0
6
%V = invoke i32 @foo( )
7
to label %Cont unwind label %Unw ; <i32> [#uses=1]
8
9
Cont: ; preds = %EB
10
ret i32 %V
11
12
Unw: ; preds = %EB
13
unwind
14
}
15