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 f265939ebc
commit 9bbecaeb55
1 changed files with 6 additions and 0 deletions

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);
}