summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-18 22:29:13 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-18 22:29:13 +0000
commit67c033e6b8c935f28b22c1d79cc12d883d61e04d (patch)
treea1a6105b9e7270e69985aa268a95e774171f5cc5 /llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
parent11de9a966a34a7a50611c3179885fefe2c83e6b2 (diff)
downloadbcm5719-llvm-67c033e6b8c935f28b22c1d79cc12d883d61e04d.tar.gz
bcm5719-llvm-67c033e6b8c935f28b22c1d79cc12d883d61e04d.zip
Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions for
better location welcome). llvm-svn: 135438
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCFrameLowering.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCFrameLowering.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp b/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
index 375e000fe40..8dd6cbae64d 100644
--- a/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
+++ b/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
@@ -712,13 +712,6 @@ void PPCFrameLowering::emitEpilogue(MachineFunction &MF,
}
}
-void PPCFrameLowering::getInitialFrameState(std::vector<MachineMove> &Moves) const {
- // Initial state of the frame pointer is R1.
- MachineLocation Dst(MachineLocation::VirtualFP);
- MachineLocation Src(PPC::R1, 0);
- Moves.push_back(MachineMove(0, Dst, Src));
-}
-
static bool spillsCR(const MachineFunction &MF) {
const PPCFunctionInfo *FuncInfo = MF.getInfo<PPCFunctionInfo>();
return FuncInfo->isCRSpilled();
OpenPOWER on IntegriCloud