[LLVMbugs] [Bug 4725] New: SoftenFloatOp_FP_TO_SINT assertion

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Aug 15 11:42:22 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4725

           Summary: SoftenFloatOp_FP_TO_SINT assertion
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: stoklund at 2pi.dk
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3315)
 --> (http://llvm.org/bugs/attachment.cgi?id=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


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list