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
/
BrUnwind.ll
blob
1acdecd5781ad3840db9f9687ad0d38ac32e3c39
1
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
2
; RUN: not grep {br label}
3
4
define void @test(i1 %C) {
5
br i1 %C, label %A, label %B
6
A: ; preds = %0
7
call void @test( i1 %C )
8
br label %X
9
B: ; preds = %0
10
call void @test( i1 %C )
11
br label %X
12
X: ; preds = %B, %A
13
unwind
14
}
15