projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implement SDIV by power of 2 as srawi/addze rather than load imm, divw
[oota-llvm.git]
/
test
/
Assembler
/
select.ll
1
; RUN: llvm-as < %s -o /dev/null -f
2
3
4
5
int %test(bool %C, int %V1, int %V2) {
6
%X = select bool true, bool false, bool true
7
%V = select bool %X, int %V1, int %V2
8
ret int %V
9
}