From: Jim Grosbach Date: Tue, 17 Aug 2010 20:21:30 +0000 (+0000) Subject: silence warning X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8ae231a06ce1f999f07841150635e190ddcba196;p=oota-llvm.git silence warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111274 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LocalStackSlotAllocation.cpp b/lib/CodeGen/LocalStackSlotAllocation.cpp index bfc62cf2d18..065cf80ca43 100644 --- a/lib/CodeGen/LocalStackSlotAllocation.cpp +++ b/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; }