Debian Codegraph @

clang/test/CodeGen/2006-01-16-BitCountIntrinsicsUnsigned.c

raw
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
3 unsigned t2(unsigned X) {
4 // CHECK: t2
5 // CHECK: llvm.ctlz.i32
6 return __builtin_clz(X);
7 }
8 int t1(int X) {
9 // CHECK: t1
10 // CHECK: llvm.ctlz.i32
11 return __builtin_clz(X);
12 }