Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / LoongArch / lsx / inline-asm-gcc-regs-error.c
blob54132307e93f48563226e18503c3e33054c2b88c
1 // RUN: not %clang_cc1 -triple loongarch64 -emit-llvm -O2 %s 2>&1 -o - | FileCheck %s
3 typedef signed char v16i8 __attribute__((vector_size(16), aligned(16)));
5 void test() {
6 // CHECK: :[[#@LINE+1]]:28: error: unknown register name 'vr0' in asm
7 register v16i8 p0 asm ("vr0");
8 // CHECK: :[[#@LINE+1]]:29: error: unknown register name '$vr32' in asm
9 register v16i8 p32 asm ("$vr32");