Remove unused function.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 10 May 2013 16:53:12 +0000 (16:53 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 10 May 2013 16:53:12 +0000 (16:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181606 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/HexagonRegisterInfo.cpp
lib/Target/Hexagon/HexagonRegisterInfo.h

index d8b4e2fcb3688b29cfcf4c7b70be9d382aab7fe6..d59d7d3382f85c21a368b38d2942b1b736390f9f 100644 (file)
@@ -295,16 +295,6 @@ unsigned HexagonRegisterInfo::getStackRegister() const {
   return Hexagon::R29;
 }
 
-void HexagonRegisterInfo::getInitialFrameState(std::vector<MachineMove>
-                                               &Moves)  const
-{
-  // VirtualFP = (R30 + #0).
-  unsigned FPReg = getFrameRegister();
-  MachineLocation Dst(MachineLocation::VirtualFP);
-  MachineLocation Src(FPReg, 0);
-  Moves.push_back(MachineMove(0, Dst, Src));
-}
-
 unsigned HexagonRegisterInfo::getEHExceptionRegister() const {
   llvm_unreachable("What is the exception register");
 }
index 8a3f94a3fd1230a2226e704617d4f42d5a06f89a..c74155ac3ba8c23482dbb08bd3de138293f6df26 100644 (file)
@@ -78,7 +78,6 @@ struct HexagonRegisterInfo : public HexagonGenRegisterInfo {
   unsigned getRARegister() const;
   unsigned getFrameRegister(const MachineFunction &MF) const;
   unsigned getFrameRegister() const;
-  void getInitialFrameState(std::vector<MachineMove> &Moves) const;
   unsigned getStackRegister() const;
 
   // Exception handling queries.