bolt/deps/llvm-18.1.8/llvm/test/CodeGen/CSKY/inline-asm-invalid.ll
2025-02-14 19:21:04 +01:00

10 lines
428 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: not llc -mtriple=csky < %s 2>&1 | FileCheck %s
define void @constraint_f() nounwind {
; CHECK: error: couldn't allocate input reg for constraint 'v'
tail call void asm "fadds fa0, fa0, $0", "v"(float 0.0)
; CHECK: error: couldn't allocate input reg for constraint 'v'
tail call void asm "faddd fa0, fa0, $0", "v"(double 0.0)
ret void
}