[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
Jim Laskey
jlaskey at apple.com
Mon Jan 29 15:20:41 PST 2007
Changes in directory llvm/lib/Target/PowerPC:
PPCRegisterInfo.cpp updated: 1.102 -> 1.103
---
Log message:
Only gather frame info if debug or eh.
---
Diffs of the changes: (+2 -2)
PPCRegisterInfo.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.102 llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.103
--- llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.102 Mon Jan 29 12:51:14 2007
+++ llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp Mon Jan 29 17:20:22 2007
@@ -818,7 +818,7 @@
unsigned TargetAlign = MF.getTarget().getFrameInfo()->getStackAlignment();
unsigned MaxAlign = MFI->getMaxAlignment();
- if (MMI) {
+ if (MMI && MMI->needsFrameInfo()) {
// Mark effective beginning of when frame pointer becomes valid.
FrameLabelId = MMI->NextLabelID();
BuildMI(MBB, MBBI, TII.get(PPC::LABEL)).addImm(FrameLabelId);
@@ -869,7 +869,7 @@
}
}
- if (MMI) {
+ if (MMI && MMI->needsFrameInfo()) {
std::vector<MachineMove> &Moves = MMI->getFrameMoves();
if (NegFrameSize) {
More information about the llvm-commits
mailing list