repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2006-01-16-BitCountIntrinsicsUnsigned.c
blob
ba7820a0db6c99a7841f9cf82586eb03fd31c64b
1
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
3
unsigned
t2
(
unsigned
X
) {
4
// CHECK: t2
5
// CHECK: llvm.ctlz.i32
6
return
__builtin_clz
(
X
);
7
}
8
int
t1
(
int
X
) {
9
// CHECK: t1
10
// CHECK: llvm.ctlz.i32
11
return
__builtin_clz
(
X
);
12
}