projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix PR4815: some cases where DeleteDeadInstruction can delete
[oota-llvm.git]
/
test
/
FrontendC
/
2006-01-16-BitCountIntrinsicsUnsigned.c
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
}