[llvm] r304034 - [Hexagon] Cleanup of unused function isCalleeSaveReg (NFC)
Sumanth Gundapaneni via llvm-commits
llvm-commits at lists.llvm.org
Fri May 26 14:09:54 PDT 2017
Author: sgundapa
Date: Fri May 26 16:09:54 2017
New Revision: 304034
URL: http://llvm.org/viewvc/llvm-project?rev=304034&view=rev
Log:
[Hexagon] Cleanup of unused function isCalleeSaveReg (NFC)
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.cpp
llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.h
Modified: llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.cpp?rev=304034&r1=304033&r2=304034&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.cpp Fri May 26 16:09:54 2017
@@ -50,11 +50,6 @@ bool HexagonRegisterInfo::isEHReturnCall
R == Hexagon::R3 || R == Hexagon::D0 || R == Hexagon::D1;
}
-bool HexagonRegisterInfo::isCalleeSaveReg(unsigned Reg) const {
- return Hexagon::R16 <= Reg && Reg <= Hexagon::R27;
-}
-
-
const MCPhysReg *
HexagonRegisterInfo::getCallerSavedRegs(const MachineFunction *MF,
const TargetRegisterClass *RC) const {
Modified: llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.h?rev=304034&r1=304033&r2=304034&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.h (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.h Fri May 26 16:09:54 2017
@@ -77,7 +77,6 @@ public:
unsigned getFirstCallerSavedNonParamReg() const;
bool isEHReturnCalleeSaveReg(unsigned Reg) const;
- bool isCalleeSaveReg(unsigned Reg) const;
};
} // end namespace llvm
More information about the llvm-commits
mailing list