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
I cast, therefore I think I know what I'm doing.
[llvm/msp430.git]
/
test
/
Verifier
/
invoke-2.ll
blob
9201f4d9fb0a689198cef15179e134cbfac30bc9
1
; RUN: not llvm-as %s -f |& 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