[llvm] 901eaf3 - [Hexagon] Remove getFirstCallerSavedNonParamReg
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Tue May 16 18:58:51 PDT 2023
Author: Kazu Hirata
Date: 2023-05-16T18:58:45-07:00
New Revision: 901eaf378846a034aa936d5438238c8174112d23
URL: https://github.com/llvm/llvm-project/commit/901eaf378846a034aa936d5438238c8174112d23
DIFF: https://github.com/llvm/llvm-project/commit/901eaf378846a034aa936d5438238c8174112d23.diff
LOG: [Hexagon] Remove getFirstCallerSavedNonParamReg
The last use was removed by:
commit 9eb75c45204781886c8d598a1bc9b5c37f3cb037
Author: Krzysztof Parzyszek <kparzysz at codeaurora.org>
Date: Fri Jun 30 21:21:40 2017 +0000
Added:
Modified:
llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
llvm/lib/Target/Hexagon/HexagonRegisterInfo.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
index 8a84f55e33cd..a3f31df368c5 100644
--- a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
@@ -452,8 +452,3 @@ HexagonRegisterInfo::getPointerRegClass(const MachineFunction &MF,
unsigned Kind) const {
return &Hexagon::IntRegsRegClass;
}
-
-Register HexagonRegisterInfo::getFirstCallerSavedNonParamReg() const {
- return Hexagon::R6;
-}
-
diff --git a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.h b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.h
index 4766fb5a8497..72153980236e 100644
--- a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.h
+++ b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.h
@@ -71,8 +71,6 @@ class HexagonRegisterInfo : public HexagonGenRegisterInfo {
const MCPhysReg *getCallerSavedRegs(const MachineFunction *MF,
const TargetRegisterClass *RC) const;
- Register getFirstCallerSavedNonParamReg() const;
-
const TargetRegisterClass *
getPointerRegClass(const MachineFunction &MF,
unsigned Kind = 0) const override;
More information about the llvm-commits
mailing list