[llvm] [llvm] use 64-bit types for result of getDwarfRegNum (NFC) (PR #109494)
William G Hatch via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 12:12:58 PDT 2024
================
@@ -43,8 +43,6 @@ struct LanaiRegisterInfo : public LanaiGenRegisterInfo {
Register getFrameRegister(const MachineFunction &MF) const override;
Register getBaseRegister() const;
bool hasBasePointer(const MachineFunction &MF) const;
-
- int getDwarfRegNum(unsigned RegNum, bool IsEH) const;
----------------
willghatch wrote:
It caused errors when I switched `getDwarfRegNum` to be virtual, and there didn't seem to be a reason for it to be there. No tests failed from removing it. I believe it is vestigial, but I'm open to someone telling or showing me why it should be there.
https://github.com/llvm/llvm-project/pull/109494
More information about the llvm-commits
mailing list