1 // RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown -target-feature +prefetchi -emit-llvm -o - %s | FileCheck %s
6 void test_m_prefetch_it0(void *p
) {
7 return _m_prefetchit0(p
);
8 // CHECK-LABEL: define{{.*}} void @test_m_prefetch_it0
9 // CHECK: call void @llvm.prefetch.p0(ptr {{.*}}, i32 0, i32 3, i32 0)
12 void test_m_prefetch_it1(void *p
) {
13 return _m_prefetchit1(p
);
14 // CHECK-LABEL: define{{.*}} void @test_m_prefetch_it1
15 // CHECK: call void @llvm.prefetch.p0(ptr {{.*}}, i32 0, i32 2, i32 0)