summaryrefslogtreecommitdiff
path: root/test/CodeGen/2005-03-11-Prefetch.c
blob: 8d7d12edcbd2ece01797f1dc5322e132baaa8639 (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s

void foo(int *P) {
  // CHECK: llvm.prefetch
  __builtin_prefetch(P);
  __builtin_prefetch(P, 1);
}