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
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
Transforms
/
SimplifyCFG
/
return-merge.ll
blob
977b6dff87cb7b00981f118453d1aac4520f2e01
1
; RUN: opt < %s -simplifycfg -S | not grep br
2
3
define i32 @test1(i1 %C) {
4
entry:
5
br i1 %C, label %T, label %F
6
T: ; preds = %entry
7
ret i32 1
8
F: ; preds = %entry
9
ret i32 0
10
}
11
12
define void @test2(i1 %C) {
13
br i1 %C, label %T, label %F
14
T: ; preds = %0
15
ret void
16
F: ; preds = %0
17
ret void
18
}
19