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