mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-08 09:06:06 +00:00
5 lines
183 B
C
5 lines
183 B
C
// 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);}
|