blob: 8687a730666b9d45dfd9e5b070f85710ecefaff9 [file] [log] [blame]
Bill Wendling4f787312007-08-22 07:26:30 +00001// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep {llvm.cttz.i64} | count 1
2// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | not grep {lshr}
3
4int bork(unsigned long long x) {
5 return __builtin_ctzll(x);
6}