diff options
Diffstat (limited to 'test/CFrontend/2005-03-11-Prefetch.c')
-rw-r--r-- | test/CFrontend/2005-03-11-Prefetch.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CFrontend/2005-03-11-Prefetch.c b/test/CFrontend/2005-03-11-Prefetch.c new file mode 100644 index 0000000..bf79653 --- /dev/null +++ b/test/CFrontend/2005-03-11-Prefetch.c @@ -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); +} |