[llvm-commits] CVS: llvm/lib/Target/ARM/ARMRegisterInfo.cpp ARMTargetMachine.cpp
Rafael Espindola
rafael.espindola at gmail.com
Wed Aug 9 10:37:59 PDT 2006
Changes in directory llvm/lib/Target/ARM:
ARMRegisterInfo.cpp updated: 1.13 -> 1.14
ARMTargetMachine.cpp updated: 1.3 -> 1.4
---
Log message:
correctly set LocalAreaOffset of TargetFrameInfo
---
Diffs of the changes: (+1 -6)
ARMRegisterInfo.cpp | 5 -----
ARMTargetMachine.cpp | 2 +-
2 files changed, 1 insertion(+), 6 deletions(-)
Index: llvm/lib/Target/ARM/ARMRegisterInfo.cpp
diff -u llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.13 llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.14
--- llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.13 Wed Aug 9 11:41:12 2006
+++ llvm/lib/Target/ARM/ARMRegisterInfo.cpp Wed Aug 9 12:37:45 2006
@@ -93,11 +93,6 @@
unsigned StackSize = MF.getFrameInfo()->getStackSize();
- //<hack>
- if (Offset < 0)
- Offset -= 4;
- //</hack>
-
Offset += StackSize;
assert (Offset >= 0);
Index: llvm/lib/Target/ARM/ARMTargetMachine.cpp
diff -u llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.3 llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.4
--- llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.3 Fri Jun 16 13:22:52 2006
+++ llvm/lib/Target/ARM/ARMTargetMachine.cpp Wed Aug 9 12:37:45 2006
@@ -33,7 +33,7 @@
///
ARMTargetMachine::ARMTargetMachine(const Module &M, const std::string &FS)
: TargetMachine("ARM"), DataLayout("E-p:32:32"),
- FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 0) {
+ FrameInfo(TargetFrameInfo::StackGrowsDown, 8, -4) {
}
unsigned ARMTargetMachine::getModuleMatchQuality(const Module &M) {
More information about the llvm-commits
mailing list