Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2006-01-16-BitCountIntrinsicsUnsigned.c
blobba7820a0db6c99a7841f9cf82586eb03fd31c64b
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
3 unsigned t2(unsigned X) {
4 // CHECK: t2
5 // CHECK: llvm.ctlz.i32
6 return __builtin_clz(X);
8 int t1(int X) {
9 // CHECK: t1
10 // CHECK: llvm.ctlz.i32
11 return __builtin_clz(X);