[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / X86 / amx_fp8.c
blob9c79514f891299ad3037a5d452c560213f2151db
1 // RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown -target-feature +amx-fp8 \
2 // RUN: -emit-llvm -o - -Werror -pedantic | FileCheck %s
3 #include <immintrin.h>
5 void test_amx(void *data) {
6 //CHECK-LABEL: @test_amx
7 //CHECK: call void @llvm.x86.tdpbf8ps(i8 1, i8 2, i8 3)
8 _tile_dpbf8ps(1, 2, 3);
11 void test_amx2(void *data) {
12 //CHECK-LABEL: @test_amx2
13 //CHECK: call void @llvm.x86.tdpbhf8ps(i8 1, i8 2, i8 3)
14 _tile_dpbhf8ps(1, 2, 3);
17 void test_amx3(void *data) {
18 //CHECK-LABEL: @test_amx3
19 //CHECK: call void @llvm.x86.tdphbf8ps(i8 1, i8 2, i8 3)
20 _tile_dphbf8ps(1, 2, 3);
23 void test_amx4(void *data) {
24 //CHECK-LABEL: @test_amx4
25 //CHECK: call void @llvm.x86.tdphf8ps(i8 1, i8 2, i8 3)
26 _tile_dphf8ps(1, 2, 3);