[LLVMbugs] [Bug 2616] New: Code generation failure for Cell SPU

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 31 02:59:56 PDT 2008


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

           Summary: Code generation failure for Cell SPU
           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 when generating code for the SPU with llc -march cellspu:

; ModuleID = 't0038.ubc'

; ModuleID = 't0038.ubc'

define i32 @main(...) {
entry:
        %retval = alloca i32            ; <i32*> [#uses=2]
        store i32 0, i32* %retval
        %i = alloca i32         ; <i32*> [#uses=0]
        br label %return

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

[~/ellcc/ellcc] main% llc -march cellspu t0038.ubc
Attempt to copy unknown/unsupported register class!
llc[0x8b5105e]
...


-- 
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