blob: 9067c5a767e3ea308390a41620c7d1664e398274 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
3int 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}