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

           Summary: ARM: i64 arguments may be split between registers and
                    stack with AAPCS ABI
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


The AAPCS ARM ABI requires that i64 arguments be passed in even/odd registers
pairs or on the stack with 8-byte alignment.  LLVM currently splits up i64
arguments into pairs of i32 values.  The ARMCallingConv.td file attempts to
handle this by checking for i32 types with 8-byte alignment, and it does manage
to get them into even/odd registers, but it fails to prevent them from being
split with one word in r3 and the other on the stack.


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