- Sep 25, 2009
-
-
Bob Wilson authored
For the AAPCS ABI, SP must always be 4-byte aligned, and at any "public interface" it must be 8-byte aligned. For the older ARM APCS ABI, the stack alignment is just always 4 bytes. For X86, we currently align SP at entry to a function (e.g., to 16 bytes for Darwin), but no stack alignment is needed at other times, such as for a leaf function. After discussing this with Dan, I decided to go with the approach of adding a new "TransientStackAlignment" field to TargetFrameInfo. This value specifies the stack alignment that must be maintained even in between calls. It defaults to 1 except for ARM, where it is 4. (Some other targets may also want to set this if they have similar stack requirements. It's not currently required for PPC because it sets targetHandlesStackFrameRounding and handles the alignment in target-specific code.) The existing StackAlignment value specifies the alignment upon entry to a function, which is how we've been using it anyway. llvm-svn: 82767
-
- Jul 09, 2009
-
-
Evan Cheng authored
llvm-svn: 75115
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- Jul 30, 2007
-
-
Dan Gohman authored
llvm-svn: 40589
-
- Jan 19, 2007
-
-
Evan Cheng authored
llvm-svn: 33353
-
- Aug 25, 2006
-
-
Rafael Espindola authored
store LR in an arbitrary stack slot add support for writing varargs functions llvm-svn: 29876
-
- Aug 16, 2006
-
-
Rafael Espindola authored
Remove the hard coded store and load of the link register Implement ARMFrameInfo llvm-svn: 29727
-
- Oct 16, 2005
-
-
Nate Begeman authored
redundant after the change. llvm-svn: 23759
-
- Oct 15, 2005
-
-
Chris Lattner authored
llvm-svn: 23743
-
- Apr 22, 2005
-
-
Misha Brukman authored
llvm-svn: 21425
-
- Oct 26, 2004
-
-
Nate Begeman authored
from PowerPCFrameInfo.h to PowerPCAsmPrinter.cpp where it is actually needed. llvm-svn: 17244
-
- Aug 19, 2004
-
-
Misha Brukman authored
llvm-svn: 15929
-
- Aug 17, 2004
-
-
Misha Brukman authored
llvm-svn: 15860
-
- Aug 16, 2004
-
-
Chris Lattner authored
llvm-svn: 15810
-
- Aug 15, 2004
-
-
Alkis Evlogimenos authored
allowed). llvm-svn: 15766
-
Nate Begeman authored
llvm-svn: 15746
-