[llvm-commits] [llvm] r164150 - /llvm/trunk/lib/Target/Mips/Mips16FrameLowering.cpp

Akira Hatanaka ahatanaka at mips.com
Tue Sep 18 11:08:25 PDT 2012


Author: ahatanak
Date: Tue Sep 18 13:08:25 2012
New Revision: 164150

URL: http://llvm.org/viewvc/llvm-project?rev=164150&view=rev
Log:
Revert r164051.

Modified:
    llvm/trunk/lib/Target/Mips/Mips16FrameLowering.cpp

Modified: llvm/trunk/lib/Target/Mips/Mips16FrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/Mips16FrameLowering.cpp?rev=164150&r1=164149&r2=164150&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/Mips16FrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/Mips16FrameLowering.cpp Tue Sep 18 13:08:25 2012
@@ -35,8 +35,6 @@
   DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
   uint64_t StackSize = MFI->getStackSize();
 
-  StackSize += 16; // need to allocate space for RA. Clean this up later
-                   // when we fix the save/restore instruction. TBD..
   // No need to allocate space on the stack.
   if (StackSize == 0 && !MFI->adjustsStack()) return;
 
@@ -54,8 +52,6 @@
   DebugLoc dl = MBBI->getDebugLoc();
   uint64_t StackSize = MFI->getStackSize();
 
-  StackSize += 16; // need to allocate space for RA. Clean this up later
-                   // when we fix the save/restore instruction. TBD..
   if (!StackSize)
     return;
 





More information about the llvm-commits mailing list