diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-12-24 04:17:01 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-12-24 04:17:01 +0000 |
commit | 103318e9ea6e16f9793d61fd07d00b3bbec6729b (patch) | |
tree | 2d05922a8a6fba6426faaff9e61ceac414715d76 /llvm/lib/Target/ARM/ARMFrameLowering.cpp | |
parent | a6fdbd1807fc21575006874651d2dd9b957659c8 (diff) | |
download | bcm5719-llvm-103318e9ea6e16f9793d61fd07d00b3bbec6729b.tar.gz bcm5719-llvm-103318e9ea6e16f9793d61fd07d00b3bbec6729b.zip |
Fix Comments.
llvm-svn: 147238
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFrameLowering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMFrameLowering.cpp b/llvm/lib/Target/ARM/ARMFrameLowering.cpp index 420ede99575..bda64cf07da 100644 --- a/llvm/lib/Target/ARM/ARMFrameLowering.cpp +++ b/llvm/lib/Target/ARM/ARMFrameLowering.cpp @@ -280,7 +280,7 @@ void ARMFrameLowering::emitPrologue(MachineFunction &MF) const { // If we need dynamic stack realignment, do it here. Be paranoid and make // sure if we also have VLAs, we have a base pointer for frame access. - // If aligned NEON registers were sp[illed, the stack has already been + // If aligned NEON registers were spilled, the stack has already been // realigned. if (!AFI->getNumAlignedDPRCS2Regs() && RegInfo->needsStackRealignment(MF)) { unsigned MaxAlign = MFI->getMaxAlignment(); @@ -715,8 +715,8 @@ void ARMFrameLowering::emitPopInst(MachineBasicBlock &MBB, } /// Emit aligned spill instructions for NumAlignedDPRCS2Regs D-registers -/// starting from d8. It is assumed that the stack will be realigned before -/// these instructions are executed. +/// starting from d8. Also insert stack realignment code and leave the stack +/// pointer pointing to the d8 spill slot. static void emitAlignedDPRCS2Spills(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned NumAlignedDPRCS2Regs, |