[llvm-commits] [llvm] r111274 - /llvm/trunk/lib/CodeGen/LocalStackSlotAllocation.cpp
Jim Grosbach
grosbach at apple.com
Tue Aug 17 13:21:30 PDT 2010
Author: grosbach
Date: Tue Aug 17 15:21:30 2010
New Revision: 111274
URL: http://llvm.org/viewvc/llvm-project?rev=111274&view=rev
Log:
silence warning
Modified:
llvm/trunk/lib/CodeGen/LocalStackSlotAllocation.cpp
Modified: llvm/trunk/lib/CodeGen/LocalStackSlotAllocation.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LocalStackSlotAllocation.cpp?rev=111274&r1=111273&r2=111274&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LocalStackSlotAllocation.cpp (original)
+++ llvm/trunk/lib/CodeGen/LocalStackSlotAllocation.cpp Tue Aug 17 15:21:30 2010
@@ -178,6 +178,11 @@
// what "reasonably" really means. Conservatively, can just
// use the alignment of the local block.
+ // If we have a suitable base register available, use it; otherwise
+ // create a new one.
+ // FIXME: For the moment, just always create a new one.
+
+ ++NumBaseRegisters;
++NumReplacements;
}
More information about the llvm-commits
mailing list