Chris Lattner | 478cc13 | 2006-01-17 06:24:01 +0000 | [diff] [blame] | 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 | } |