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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to