minix/external/bsd/llvm/dist/clang/test/CodeGen/2005-03-11-Prefetch.c

8 lines
154 B
C
Raw Normal View History

// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
void foo(int *P) {
// CHECK: llvm.prefetch
__builtin_prefetch(P);
__builtin_prefetch(P, 1);
}