summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-08-17 20:21:30 +0000
committerJim Grosbach <grosbach@apple.com>2010-08-17 20:21:30 +0000
commit1a58ce76463878399bc28d5bebe342d2c3ceef6a (patch)
tree42eea787a565336ec85a5bcd184b7b0a2745a909 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parentda7604f53d06c21cd125291793ae8fa0eb3a4a64 (diff)
downloadbcm5719-llvm-1a58ce76463878399bc28d5bebe342d2c3ceef6a.tar.gz
bcm5719-llvm-1a58ce76463878399bc28d5bebe342d2c3ceef6a.zip
silence warning
llvm-svn: 111274
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
-rw-r--r--llvm/lib/CodeGen/LocalStackSlotAllocation.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp b/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
index bfc62cf2d18..065cf80ca43 100644
--- a/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
+++ b/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
@@ -178,6 +178,11 @@ void LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) {
// 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;
}
OpenPOWER on IntegriCloud