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)));
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");