blob: 9e74f24cdcb8ae00fd228ce9213731632ba64c41 [file] [log] [blame]
Duncan Sands8c556612007-08-23 17:22:50 +00001// RUN: %llvmgcc -O2 -S -o - %s | grep {llvm.cttz.i64} | count 2
2// RUN: %llvmgcc -O2 -S -o - %s | not grep {lshr}
Bill Wendling4f787312007-08-22 07:26:30 +00003
4int bork(unsigned long long x) {
5 return __builtin_ctzll(x);
6}