From 1a58ce76463878399bc28d5bebe342d2c3ceef6a Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Tue, 17 Aug 2010 20:21:30 +0000 Subject: silence warning llvm-svn: 111274 --- llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp') 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; } -- cgit v1.2.3