1 ; RUN: not llc --mtriple=loongarch32 --mattr=+f,+d 2>&1 < %s | FileCheck %s
2 ; RUN: not llc --mtriple=loongarch64 --mattr=+f,+d 2>&1 < %s | FileCheck %s
4 define double @non_exit_f32(double %a) nounwind {
5 ; CHECK: error: couldn't allocate input reg for constraint '{$f32}'
6 %1 = tail call double asm "fabs.d $0, $1", "=f,{$f32}"(double %a)
10 define double @non_exit_foo(double %a) nounwind {
11 ; CHECK: error: couldn't allocate input reg for constraint '{$foo}'
12 %1 = tail call double asm "fabs.d $0, $1", "=f,{$foo}"(double %a)