mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Testcase for llvm.c* intrinsic failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41268 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
6
test/CFrontend/2007-08-22-CTTZ.c
Normal file
6
test/CFrontend/2007-08-22-CTTZ.c
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user