llvm-for-llvmta/tools/clang/test/CodeGen/2007-08-22-CTTZ.c

9 lines
191 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
int bork(unsigned long long x) {
// CHECK: llvm.cttz.i64
// CHECK: llvm.cttz.i64
// CHECK-NOT: lshr
return __builtin_ctzll(x);
}