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:
2684d9e
)
Fix a misleading comment.
author
Akira Hatanaka
<ahatanaka@mips.com>
Fri, 11 May 2012 01:45:15 +0000
(
01:45
+0000)
committer
Akira Hatanaka
<ahatanaka@mips.com>
Fri, 11 May 2012 01:45:15 +0000
(
01:45
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156603
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Mips/MipsRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsRegisterInfo.cpp
b/lib/Target/Mips/MipsRegisterInfo.cpp
index aa632235d2dfed16aff0cfb1e905a59a745af22e..37b0ed2666f4885ec10272c28a022b55732adaf4 100644
(file)
--- a/
lib/Target/Mips/MipsRegisterInfo.cpp
+++ b/
lib/Target/Mips/MipsRegisterInfo.cpp
@@
-124,7
+124,7
@@
getReservedRegs(const MachineFunction &MF) const {
Reserved.set(Mips::GP_64);
}
- //
If this function has dynamic allocas, reserve FP
.
+ //
Reserve FP if this function should have a dedicated frame pointer register
.
if (MF.getTarget().getFrameLowering()->hasFP(MF)) {
Reserved.set(Mips::FP);
Reserved.set(Mips::FP_64);