[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / X86 / amx_movrs_errors.c
blob495ea299236e2ff03ab190c10841bf200915268d
1 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 4
2 // RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown \
3 // RUN: -target-feature +amx-movrs -verify
5 #include <immintrin.h>
6 #include <stddef.h>
8 char buf[1024];
10 void test_tile_load() {
11 _tile_loaddrs(20, buf, 32); // expected-error {{argument value 20 is outside the valid range [0, 7]}}
12 _tile_stream_loaddrs(-1, buf, 20); // expected-error {{argument value 255 is outside the valid range [0, 7]}}