[LLVMbugs] [Bug 6547] New: return of vector makes llc assert

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 8 11:18:13 PST 2010


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

           Summary: return of vector makes llc assert
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: kalle.raiskila at nokia.com
                CC: llvmbugs at cs.uiuc.edu


Returning a vector that doesn't fit to the ABI-specified return vectors makes
llc catch an assert:

Compiling this on ARM

%0 = type <5 x float>
define %0 @cAdd_9( ) {
 ret %0 undef
}

gives error:

Return operand #4 has unhandled type i32UNREACHABLE executed at 
.../llvm/lib/CodeGen/SelectionDAG/CallingConvLower.cpp:109!


returning just 4 floats works for ARM.

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