xref: /llvm-project/llvm/test/CodeGen/CSKY/inline-asm-invalid.ll (revision a190fcdfcc54587f8dc3b574e0f4ebb7e6c67000)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: not llc -mtriple=csky < %s 2>&1 | FileCheck %s
3
4define void @constraint_f() nounwind {
5; CHECK: error: couldn't allocate input reg for constraint 'v'
6  tail call void asm "fadds fa0, fa0, $0", "v"(float 0.0)
7; CHECK: error: couldn't allocate input reg for constraint 'v'
8  tail call void asm "faddd fa0, fa0, $0", "v"(double 0.0)
9  ret void
10}
11