1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-feature +prfchw -emit-llvm -o - %s | FileCheck %s 2 3 // Don't include mm_malloc.h, it's system specific. 4 #define __MM_MALLOC_H 5 6 #include <x86intrin.h> 7 8 void prefetch_w(void *p) { 9 return _m_prefetchw(p); 10 // CHECK: @prefetch_w 11 // CHECK: call void @llvm.prefetch({{.*}}, i32 1, i32 3, i32 1) 12 } 13