diff options
| author | Jim Grosbach <grosbach@apple.com> | 2010-08-17 20:21:30 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2010-08-17 20:21:30 +0000 |
| commit | 1160f08549905d636857987a930a40d1a7df125b (patch) | |
| tree | f50353e212babd6bb5198673b22ae30ed1d2b05a /lib/CodeGen | |
| parent | e29e4166b17b804630d962296c094ca862162edc (diff) | |
| download | external_llvm-1160f08549905d636857987a930a40d1a7df125b.zip external_llvm-1160f08549905d636857987a930a40d1a7df125b.tar.gz external_llvm-1160f08549905d636857987a930a40d1a7df125b.tar.bz2 | |
silence warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
| -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 bfc62cf..065cf80 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; } |
