mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
new testcase for __builtin_prefetch support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20561 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a37ed05ede
commit
e6c378d77d
6
test/CFrontend/2005-03-11-Prefetch.c
Normal file
6
test/CFrontend/2005-03-11-Prefetch.c
Normal file
@ -0,0 +1,6 @@
|
||||
// RUN: %llvmgcc %s -S -o - | llvm-as | llvm-dis | grep llvm.prefetch
|
||||
|
||||
void foo(int *P) {
|
||||
__builtin_prefetch(P);
|
||||
__builtin_prefetch(P, 1);
|
||||
}
|
Loading…
Reference in New Issue
Block a user