Argyrios Kyrtzidis | c577a0e | 2008-06-12 12:40:02 +0000 | [diff] [blame^] | 1 | // RUN: clang -emit-llvm %s -o - | grep 'cttz' | count 2 && |
Eli Friedman | f4e8533 | 2008-05-27 15:32:46 +0000 | [diff] [blame] | 2 | // RUN: clang -emit-llvm %s -o - | grep 'ctlz' | count 2 |
3 | |||||
4 | int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);} |