xref: /aosp_15_r20/external/clang/test/CodeGen/2007-08-22-CTTZ.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2 
bork(unsigned long long x)3 int bork(unsigned long long x) {
4   // CHECK: llvm.cttz.i64
5   // CHECK: llvm.cttz.i64
6   // CHECK-NOT: lshr
7   return __builtin_ctzll(x);
8 }
9