repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
zpu: generate slightly more zpu like code
[llvm/zpu.git]
/
test
/
Verifier
/
invoke-2.ll
blob
0145935a1a785c0b486d54f31d9e403bcebc42bf
1
; RUN: not llvm-as %s |& grep {not verify as correct}
2
; PR1042
3
4
define i32 @foo() {
5
br i1 false, label %L1, label %L2
6
L1: ; preds = %0
7
%A = invoke i32 @foo( )
8
to label %L unwind label %L ; <i32> [#uses=1]
9
L2: ; preds = %0
10
br label %L
11
L: ; preds = %L2, %L1, %L1
12
ret i32 %A
13
}
14