[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / LoongArch / lasx / inline-asm-gcc-regs-error.c
blob1fd602574b8e8d5a18dd5d6e5e2462867e121fe7
1 // RUN: not %clang_cc1 -triple loongarch64 -emit-llvm -O2 %s 2>&1 -o - | FileCheck %s
3 typedef signed char v32i8 __attribute__((vector_size(32), aligned(32)));
5 void test() {
6 // CHECK: :[[#@LINE+1]]:28: error: unknown register name 'xr0' in asm
7 register v32i8 p0 asm ("xr0");
8 // CHECK: :[[#@LINE+1]]:29: error: unknown register name '$xr32' in asm
9 register v32i8 p32 asm ("$xr32");