In PIC mode, GV not requiring an extra load can be used as address immediate.
[oota-llvm.git] / test / CFrontend / 2006-01-16-BitCountIntrinsicsUnsigned.c
1 // RUN: %llvmgcc -S %s -o - | grep 'llvm.ctlz.i32(uint' &&
2 // RUN: %llvmgcc -S %s -o - | not grep 'llvm.ctlz.i32(int'
3
4 unsigned t2(unsigned X) {
5   return __builtin_clz(X);
6 }
7 int t1(int X) {
8   return __builtin_clz(X);
9 }