repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git]
/
test
/
FrontendC
/
2006-01-16-BitCountIntrinsicsUnsigned.c
blob
eafcb62814bc13e91af95cd3df2ca2dd7d1994a8
1
// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | count 3
2
// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | grep declare | count 1
3
4
unsigned
t2
(
unsigned
X
) {
5
return
__builtin_clz
(
X
);
6
}
7
int
t1
(
int
X
) {
8
return
__builtin_clz
(
X
);
9
}