svn commit: r223000 -
projects/llvm-ia64/contrib/llvm/lib/Target/IA64
Marcel Moolenaar
marcel at FreeBSD.org
Sat Jun 11 22:23:25 UTC 2011
Author: marcel
Date: Sat Jun 11 22:23:25 2011
New Revision: 223000
URL: http://svn.freebsd.org/changeset/base/223000
Log:
The (memory) stack is always 16-byte aligned and the locals start right
from the stack pointer (which translate to -8 I belief).
This file was copied from MSP430 without being tweaked to match ia64.
Modified:
projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64FrameLowering.h
Modified: projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64FrameLowering.h
==============================================================================
--- projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64FrameLowering.h Sat Jun 11 22:18:07 2011 (r222999)
+++ projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64FrameLowering.h Sat Jun 11 22:23:25 2011 (r223000)
@@ -15,10 +15,8 @@ namespace llvm {
public:
explicit IA64FrameLowering(const IA64Subtarget &sti) :
- TargetFrameLowering(TargetFrameLowering::StackGrowsDown, 2, -2),
- STI(sti)
- {
- }
+ TargetFrameLowering(TargetFrameLowering::StackGrowsDown, 16, -8, 16),
+ STI(sti) {}
void emitPrologue(MachineFunction &MF) const;
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
More information about the svn-src-projects
mailing list