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


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

Reply via email to