llvm-project/clang/test/CodeGen/2007-08-22-CTTZ.c

9 lines
191 B
C

// 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);
}