projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81cfb85
)
silence warning
author
Jim Grosbach
<grosbach@apple.com>
Tue, 17 Aug 2010 20:21:30 +0000
(20:21 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Tue, 17 Aug 2010 20:21:30 +0000
(20:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111274
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LocalStackSlotAllocation.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LocalStackSlotAllocation.cpp
b/lib/CodeGen/LocalStackSlotAllocation.cpp
index bfc62cf2d183a2fd311423d3fb1b1a1be17d6845..065cf80ca438bac51843aeab14744b66d509e69a 100644
(file)
--- 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;
}