repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.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