repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"
[llvm/stm8.git]
/
test
/
Transforms
/
SimplifyCFG
/
BrUnwind.ll
blob
b19a27dea048d5155d15e44467afd2bbc7fdbda9
1
; RUN: opt < %s -simplifycfg -S | \
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