[libc][test] Adjust header paths in tests (#119623)
[llvm-project.git] / clang / test / CodeGen / X86 / amx_movrs_transpose_errors.c
blob840b52bbb29bbf7f531b87fcf10476ecffc239e0
1 // RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown \
2 // RUN: -target-feature +amx-int8 -target-feature +amx-transpose -target-feature +amx-movrs \
3 // RUN: -verify
5 #include <immintrin.h>
6 #include <stddef.h>
8 void test_tile_2rpntlvwz0rs(const void *A, size_t B) {
9 _tile_2rpntlvwz0rs(8, A, B); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
12 void test_tile_2rpntlvwz0rst1(const void *A, size_t B) {
13 _tile_2rpntlvwz0rst1(8, A, B); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
16 void test_tile_2rpntlvwz1rs(const void *A, size_t B) {
17 _tile_2rpntlvwz1rs(8, A, B); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
20 void test_tile_2rpntlvwz1rst1(const void *A, size_t B) {
21 _tile_2rpntlvwz1rst1(8, A, B); // expected-error {{argument value 8 is outside the valid range [0, 7]}}