// RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown -target-feature +amx-tile -target-feature +amx-complex \
// RUN: -emit-llvm -o - -Wall -Werror -pedantic -Wno-gnu-statement-expression | FileCheck %s
#include <immintrin.h>
#include <stddef.h>
void test_tile_cmmimfp16ps(void) {
// CHECK-LABEL: @test_tile_cmmimfp16ps
// CHECK: call void @llvm.x86.tcmmimfp16ps(i8 1, i8 2, i8 3)
_tile_cmmimfp16ps(1, 2, 3);
}
void test_tile_cmmrlfp16ps(void) {
// CHECK-LABEL: @test_tile_cmmrlfp16ps
// CHECK: call void @llvm.x86.tcmmrlfp16ps(i8 1, i8 2, i8 3)
_tile_cmmrlfp16ps(1, 2, 3);
}