diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-10 16:53:12 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-10 16:53:12 +0000 |
commit | 3a0d00eef992daafecc4d96fa716f851d8c9059a (patch) | |
tree | 2c3fd7ed6328bb40c5c8d6b3278625450a5667a3 | |
parent | 7159a307b9a0a53f9a33e416d24b9308ef547d97 (diff) | |
download | external_llvm-3a0d00eef992daafecc4d96fa716f851d8c9059a.zip external_llvm-3a0d00eef992daafecc4d96fa716f851d8c9059a.tar.gz external_llvm-3a0d00eef992daafecc4d96fa716f851d8c9059a.tar.bz2 |
Remove unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181606 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Hexagon/HexagonRegisterInfo.cpp | 10 | ||||
-rw-r--r-- | lib/Target/Hexagon/HexagonRegisterInfo.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/lib/Target/Hexagon/HexagonRegisterInfo.cpp b/lib/Target/Hexagon/HexagonRegisterInfo.cpp index d8b4e2f..d59d7d3 100644 --- a/lib/Target/Hexagon/HexagonRegisterInfo.cpp +++ b/lib/Target/Hexagon/HexagonRegisterInfo.cpp @@ -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"); } diff --git a/lib/Target/Hexagon/HexagonRegisterInfo.h b/lib/Target/Hexagon/HexagonRegisterInfo.h index 8a3f94a..c74155a 100644 --- a/lib/Target/Hexagon/HexagonRegisterInfo.h +++ b/lib/Target/Hexagon/HexagonRegisterInfo.h @@ -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. |