Skip to content

Commit

Permalink
[Hexagon] Remove getFirstCallerSavedNonParamReg
Browse files Browse the repository at this point in the history
The last use was removed by:

  commit 9eb75c4
  Author: Krzysztof Parzyszek <kparzysz@codeaurora.org>
  Date:   Fri Jun 30 21:21:40 2017 +0000
  • Loading branch information
kazutakahirata committed May 17, 2023
1 parent ccbe895 commit 901eaf3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,3 @@ HexagonRegisterInfo::getPointerRegClass(const MachineFunction &MF,
unsigned Kind) const {
return &Hexagon::IntRegsRegClass;
}

Register HexagonRegisterInfo::getFirstCallerSavedNonParamReg() const {
return Hexagon::R6;
}

2 changes: 0 additions & 2 deletions llvm/lib/Target/Hexagon/HexagonRegisterInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 901eaf3

Please sign in to comment.