[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
Jim Laskey
jlaskey at apple.com
Fri Aug 25 12:41:13 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCRegisterInfo.cpp updated: 1.73 -> 1.74
---
Log message:
Fix some comments.
---
Diffs of the changes: (+4 -1)
PPCRegisterInfo.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.73 llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.74
--- llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.73 Tue Jul 11 15:53:55 2006
+++ llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp Fri Aug 25 14:40:59 2006
@@ -673,7 +673,10 @@
MachineLocation Src(MachineLocation::VirtualFP, NegNumbytes);
Moves.push_back(new MachineMove(LabelID, Dst, Src));
+ // Mark effective beginning of when frame pointer becomes valid.
BuildMI(MBB, MBBI, PPC::DWARF_LABEL, 1).addImm(LabelID);
+
+
}
// If there is a frame pointer, copy R1 (SP) into R31 (FP)
@@ -727,7 +730,7 @@
void PPCRegisterInfo::getInitialFrameState(std::vector<MachineMove *> &Moves)
const {
- // Initial state is the frame pointer is R1.
+ // Initial state of the frame pointer is R1.
MachineLocation Dst(MachineLocation::VirtualFP);
MachineLocation Src(PPC::R1, 0);
Moves.push_back(new MachineMove(0, Dst, Src));
More information about the llvm-commits
mailing list