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
fix test to not get a moduleid that matches 'br'
[llvm/avr.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
}