From 901eaf378846a034aa936d5438238c8174112d23 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 16 May 2023 18:58:45 -0700 Subject: [PATCH] [Hexagon] Remove getFirstCallerSavedNonParamReg The last use was removed by: commit 9eb75c45204781886c8d598a1bc9b5c37f3cb037 Author: Krzysztof Parzyszek Date: Fri Jun 30 21:21:40 2017 +0000 --- llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp | 5 ----- llvm/lib/Target/Hexagon/HexagonRegisterInfo.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp index 8a84f55..a3f31df 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 4766fb5..7215398 100644 --- a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.h +++ b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.h @@ -71,8 +71,6 @@ public: const MCPhysReg *getCallerSavedRegs(const MachineFunction *MF, const TargetRegisterClass *RC) const; - Register getFirstCallerSavedNonParamReg() const; - const TargetRegisterClass * getPointerRegClass(const MachineFunction &MF, unsigned Kind = 0) const override; -- 2.7.4