[MLIR][TOSA] Update CustomOp input and output names (#118408)
[llvm-project.git] / clang / test / CodeGen / X86 / prefetchw-builtins.c
blob55b2bdb4abf323e1cf090063593fb0d89ce20124
1 // RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown -target-feature +prfchw -emit-llvm -o - %s | FileCheck %s
4 #include <x86intrin.h>
6 void test_m_prefetch(void *p) {
7 return _m_prefetch(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)