projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix bug in run-line.
[oota-llvm.git]
/
test
/
Transforms
/
CodeExtractor
/
2004-11-12-InvokeExtract.ll
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