Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s |
2 | |||||
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 | } |