OSDN Git Service

Compute correct frame sizes for SPARC v9 64-bit frames.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 9 Apr 2013 04:37:47 +0000 (04:37 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 9 Apr 2013 04:37:47 +0000 (04:37 +0000)
commit6ed9284c2bcfb81fa0303409c6bd4366bc1e822a
treef1d8a9b711712b4b8c63f4c199e5ae892f7c52b8
parent8faf7df1447ca6ea4a3ff8f82789923d1839fb54
Compute correct frame sizes for SPARC v9 64-bit frames.

The save area is twice as big and there is no struct return slot. The
stack pointer is always 16-byte aligned (after adding the bias).

Also eliminate the stack adjustment instructions around calls when the
function has a reserved stack frame.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179083 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcFrameLowering.cpp
lib/Target/Sparc/SparcFrameLowering.h
lib/Target/Sparc/SparcISelLowering.cpp
test/CodeGen/SPARC/64abi.ll