repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Assembler
/
select.ll
blob
fe4677a733e53848c5832f614808d4cdd224f16f
1
; RUN: llvm-as %s -o /dev/null
2
; RUN: verify-uselistorder %s
3
4
5
define i32 @test(i1 %C, i32 %V1, i32 %V2) {
6
%X = select i1 true, i1 false, i1 true ; <i1> [#uses=1]
7
%V = select i1 %X, i32 %V1, i32 %V2 ; <i32> [#uses=1]
8
ret i32 %V
9
}
10