diff options
| author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-11-12 23:26:35 +0000 |
|---|---|---|
| committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-11-12 23:26:35 +0000 |
| commit | 6e9422e14c816ab6cdc691989bb7d42a19b28fa3 (patch) | |
| tree | 04dd9f5f8b228f6c32bd5c85e361bbae9abc18d9 /llvm/lib/Target/Sparc/SparcInternals.h | |
| parent | 4b9c46da246442b679cff6bd2c84fea56113b850 (diff) | |
| download | bcm5719-llvm-6e9422e14c816ab6cdc691989bb7d42a19b28fa3.tar.gz bcm5719-llvm-6e9422e14c816ab6cdc691989bb7d42a19b28fa3.zip | |
When allocating space on stack for writing a register,
use the size of the register, not the size of the Value type,
to get the right alignment.
llvm-svn: 1284
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcInternals.h')
| -rw-r--r-- | llvm/lib/Target/Sparc/SparcInternals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInternals.h b/llvm/lib/Target/Sparc/SparcInternals.h index 9b8fe177ef2..53a4beb6cec 100644 --- a/llvm/lib/Target/Sparc/SparcInternals.h +++ b/llvm/lib/Target/Sparc/SparcInternals.h @@ -1211,6 +1211,8 @@ protected: // // Purpose: // Interface to stack frame layout info for the UltraSPARC. +// Starting offsets for each area of the stack frame are aligned at +// a multiple of getStackFrameSizeAlignment(). //--------------------------------------------------------------------------- class UltraSparcFrameInfo: public MachineFrameInfo { |

