Reworking the stack layout that the MicroBlaze backend generates.
authorWesley Peck <peckw@wesleypeck.com>
Fri, 5 Mar 2010 15:26:02 +0000 (15:26 +0000)
committerWesley Peck <peckw@wesleypeck.com>
Fri, 5 Mar 2010 15:26:02 +0000 (15:26 +0000)
commitc4155d591b2c28877695543dd8fe195e52922166
treef2e0b5eaad2b5e589f4429a1e67ca1f4740fda15
parentc84a9566cb41ef19f25ab2685c503624d0c8ddd7
Reworking the stack layout that the MicroBlaze backend generates.

The MicroBlaze backend was generating stack layouts that did not
conform correctly to the ABI. This update generates stack layouts
which are closer to what GCC does.

Variable arguments support was added as well but the stack layout
for varargs has not been finalized.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97807 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/MBlaze/MBlazeISelDAGToDAG.cpp
lib/Target/MBlaze/MBlazeISelLowering.cpp
lib/Target/MBlaze/MBlazeISelLowering.h
lib/Target/MBlaze/MBlazeRegisterInfo.cpp
lib/Target/MBlaze/MBlazeRegisterInfo.h
test/CodeGen/MBlaze/cc.ll