blob: d5ed837d2be057e537701251a4fe0ee8043d9cba [file] [log] [blame]
Reid Spencerdcb925e2007-04-15 20:08:37 +00001// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | wc -l | grep 2
Chris Lattner478cc132006-01-17 06:24:01 +00002
3unsigned t2(unsigned X) {
4 return __builtin_clz(X);
5}
6int t1(int X) {
7 return __builtin_clz(X);
8}