blob: 87909764ab9423cadacf699bfa2c025240bb40a0 [file] [log] [blame]
Chris Lattner478cc132006-01-17 06:24:01 +00001// RUN: %llvmgcc -S %s -o - | grep 'llvm.ctlz.i32(uint' &&
2// RUN: %llvmgcc -S %s -o - | not grep 'llvm.ctlz.i32(int'
3
4unsigned t2(unsigned X) {
5 return __builtin_clz(X);
6}
7int t1(int X) {
8 return __builtin_clz(X);
9}