llvm-project/clang/test/CodeGen/2005-03-11-Prefetch.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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);
}