mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +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:
parent
35a5cfeeb9
commit
9f30e22930
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);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user