[LLVMbugs] [Bug 4058] New: ARM: i64 arguments may be split between registers and stack with AAPCS ABI

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Apr 24 15:49:38 PDT 2009


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: unassignedbugs at nondot.org
        ReportedBy: bob.wilson at apple.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list