[mlir] Improve error message when number of operands and types differ (#118488)
[llvm-project.git] / clang / test / CodeGen / X86 / prefetchi-builtins.c
blobc822f7cb7dbea91400e804b191ee4a780a081cf7
1 // RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown -target-feature +prefetchi -emit-llvm -o - %s | FileCheck %s
4 #include <x86intrin.h>
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)