repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[llvm-readobj] - Refine the LLVM-style output to be consistent.
[llvm-complete.git]
/
test
/
Verifier
/
2009-05-29-InvokeResult2.ll
blob
92a51d71efe65b5df295937e4b87fed027d97164
1
; RUN: not llvm-as < %s > /dev/null 2>&1
2
3
declare i32 @v()
4
5
define i32 @g() {
6
e:
7
%s = invoke i32 @v()
8
to label %c unwind label %u ; <i32> [#uses=2]
9
10
c: ; preds = %e
11
ret i32 %s
12
13
u: ; preds = %e
14
%t = phi i32 [ %s, %e ] ; <i32> [#uses=1]
15
ret i32 %t
16
}