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
/
GVNPRE
/
select.ll
blob
de73ed5c91d5d3ef7f0b1834dc06b373ba84eea7
1
; RUN: opt < %s -gvnpre -S | grep b.gvnpre
2
3
define i32 @extract() {
4
entry: ; preds = %cond_false, %entry
5
br i1 true, label %cond_true, label %cond_false
6
7
cond_true:
8
br label %end
9
10
cond_false:
11
%a = select i1 true, i32 0, i32 1
12
br label %end
13
14
end:
15
%b = select i1 true, i32 0, i32 1
16
ret i32 %b
17
}