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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
191 B
C
Raw Normal View History

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