[LLVMbugs] [Bug 2615] New: mips cannot return double.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 31 02:39:34 PDT 2008


           Summary: mips cannot return double.
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rich at pennware.com
                CC: llvmbugs at cs.uiuc.edu

The following fails with llc -march mips:

; ModuleID = 't0037.ubc'

define double @main(...) {
        %retval = alloca double         ; <double*> [#uses=3]
        store double 0.000000e+00, double* %retval
        %r = alloca double              ; <double*> [#uses=1]
        load double* %r         ; <double>:0 [#uses=1]
        store double %0, double* %retval
        br label %return

return:         ; preds = %entry
        load double* %retval            ; <double>:1 [#uses=1]
        ret double %1

[~/ellcc/ellcc] main% llc -march mips t0037.ubc
Return operand #0 has unhandled type f64

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