[OpenACC] Treat 'delete' as a valid clause during parsing in C++ mode
[llvm-project.git] / clang / test / CodeGen / X86 / amxcomplex-errors.c
blobd8f3a6aa66d9e38d981d046358040e4ab680f87c
1 // RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown \
2 // RUN: -target-feature +amx-complex -fsyntax-only -verify
4 #include <immintrin.h>
5 #include <stddef.h>
6 void test_tile_cmmimfp16ps() {
7 _tile_cmmimfp16ps(16, 2, 3); // expected-error {{argument value 16 is outside the valid range [0, 7]}}
8 _tile_cmmimfp16ps(1, 26, 3); // expected-error {{argument value 26 is outside the valid range [0, 7]}}
9 _tile_cmmimfp16ps(1, 2, 36); // expected-error {{argument value 36 is outside the valid range [0, 7]}}
10 _tile_cmmimfp16ps(1, 1, 3); // expected-error {{tile arguments must refer to different tiles}}
13 void test_tile_cmmrlfp16ps() {
14 _tile_cmmrlfp16ps(16, 2, 3); // expected-error {{argument value 16 is outside the valid range [0, 7]}}
15 _tile_cmmrlfp16ps(1, 26, 3); // expected-error {{argument value 26 is outside the valid range [0, 7]}}
16 _tile_cmmrlfp16ps(1, 2, 36); // expected-error {{argument value 36 is outside the valid range [0, 7]}}
17 _tile_cmmrlfp16ps(1, 1, 3); // expected-error {{tile arguments must refer to different tiles}}