From: Kazu Hirata Date: Wed, 17 May 2023 01:58:45 +0000 (-0700) Subject: [Hexagon] Remove getFirstCallerSavedNonParamReg X-Git-Tag: upstream/17.0.6~8224 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=901eaf378846a034aa936d5438238c8174112d23;p=platform%2Fupstream%2Fllvm.git [Hexagon] Remove getFirstCallerSavedNonParamReg The last use was removed by: commit 9eb75c45204781886c8d598a1bc9b5c37f3cb037 Author: Krzysztof Parzyszek Date: Fri Jun 30 21:21:40 2017 +0000 --- 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;