[llvm-commits] [llvm] r156603 - /llvm/trunk/lib/Target/Mips/MipsRegisterInfo.cpp

Akira Hatanaka ahatanaka at mips.com
Thu May 10 18:45:15 PDT 2012


Author: ahatanak
Date: Thu May 10 20:45:15 2012
New Revision: 156603

URL: http://llvm.org/viewvc/llvm-project?rev=156603&view=rev
Log:
Fix a misleading comment.

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

Modified: llvm/trunk/lib/Target/Mips/MipsRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsRegisterInfo.cpp?rev=156603&r1=156602&r2=156603&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsRegisterInfo.cpp Thu May 10 20:45:15 2012
@@ -124,7 +124,7 @@
     Reserved.set(Mips::GP_64);
   }
 
-  // If this function has dynamic allocas, reserve FP.
+  // Reserve FP if this function should have a dedicated frame pointer register.
   if (MF.getTarget().getFrameLowering()->hasFP(MF)) {
     Reserved.set(Mips::FP);
     Reserved.set(Mips::FP_64);





More information about the llvm-commits mailing list