Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
test
/
CodeGen
/
builtin-count-zeros.c
blob: 374acc43ae58bd882551b9e82fca0697df51c783 [
file
] [
log
] [
blame
]
// RUN: clang-cc -emit-llvm %s -o - | grep 'cttz' | count 2 &&
// RUN: clang-cc -emit-llvm %s -o - | grep 'ctlz' | count 2
int
a
(
int
a
)
{
return
__builtin_ctz
(
a
)
+
__builtin_clz
(
a
);}