diff options
Diffstat (limited to 'lib/CodeGen/LocalStackSlotAllocation.cpp')
-rw-r--r-- | lib/CodeGen/LocalStackSlotAllocation.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/LocalStackSlotAllocation.cpp b/lib/CodeGen/LocalStackSlotAllocation.cpp index bfc62cf2d1..065cf80ca4 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; } |