Created attachment 3315
Test case for Blackfin back-end
The attached test case fails with
Assertion failed: (LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_TO_SINT!"),
function SoftenFloatOp_FP_TO_SINT, file
/Users/stoklund/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp, line 693.
I believe this happens when using soft-float on any target with legal i8 or i16
types:
llc -march=x86 -soft-float
llc -march=x86-64 -soft-float
llc -march=pic16
llc -march=bfin
llc -march=msp430
2009-08-09-FPTOSINT_F64_I16.ll
(404 bytes, application/octet-stream)