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
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
Transforms
/
SimplifyCFG
/
2005-10-02-InvokeSimplify.ll
blob
a0fe7817743ac8e8fb418c3aa50d237406d63c64
1
; RUN: llvm-as < %s | opt -simplifycfg -disable-output
2
3
define i1 @foo() {
4
%X = invoke i1 @foo( )
5
to label %N unwind label %F ; <i1> [#uses=1]
6
F: ; preds = %0
7
ret i1 false
8
N: ; preds = %0
9
br i1 %X, label %A, label %B
10
A: ; preds = %N
11
ret i1 true
12
B: ; preds = %N
13
ret i1 true
14
}
15