Testcase for llvm.c* intrinsic failures.

llvm-svn: 41268
This commit is contained in:
Bill Wendling 2007-08-22 07:26:30 +00:00
parent f275ac587b
commit d3c8db882d

View File

@ -0,0 +1,6 @@
// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep {llvm.cttz.i64} | count 1
// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | not grep {lshr}
int bork(unsigned long long x) {
return __builtin_ctzll(x);
}