repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Really use attribute.
[llvm-complete.git]
/
test
/
CFrontend
/
2006-01-16-BitCountIntrinsicsUnsigned.c
blob
ee74432db310d465550ab67c3c2a632de7158699
1
// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32( i32} | wc -l | grep 2
2
// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | wc -l | grep 1
3
4
unsigned
t2
(
unsigned
X
) {
5
return
__builtin_clz
(
X
);
6
}
7
int
t1
(
int
X
) {
8
return
__builtin_clz
(
X
);
9
}