repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
CodeExtractor
/
2004-11-12-InvokeExtract.ll
blob
fc58577f67abf8d8abfb7842ab8dd8ffbfa230aa
1
; RUN: opt < %s -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