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