[llvm] 71de6e9 - Mips/GlobalISel: Remove leftover dead code
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 16 17:21:05 PDT 2021
Author: Matt Arsenault
Date: 2021-07-16T20:20:55-04:00
New Revision: 71de6e9b4a1b3437891f40de37223869418d5221
URL: https://github.com/llvm/llvm-project/commit/71de6e9b4a1b3437891f40de37223869418d5221
DIFF: https://github.com/llvm/llvm-project/commit/71de6e9b4a1b3437891f40de37223869418d5221.diff
LOG: Mips/GlobalISel: Remove leftover dead code
Added:
Modified:
llvm/lib/Target/Mips/MipsCallLowering.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/Mips/MipsCallLowering.h b/llvm/lib/Target/Mips/MipsCallLowering.h
index 83cb564fc0af..1d1406da3201 100644
--- a/llvm/lib/Target/Mips/MipsCallLowering.h
+++ b/llvm/lib/Target/Mips/MipsCallLowering.h
@@ -22,47 +22,7 @@ class MachineMemOperand;
class MipsTargetLowering;
class MipsCallLowering : public CallLowering {
-
public:
-#if 0
- class MipsHandler {
- public:
- MipsHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI)
- : MIRBuilder(MIRBuilder), MRI(MRI) {}
-
- virtual ~MipsHandler() = default;
-
- bool handle(ArrayRef<CCValAssign> ArgLocs,
- ArrayRef<CallLowering::ArgInfo> Args);
-
- protected:
- bool assignVRegs(ArrayRef<Register> VRegs, ArrayRef<CCValAssign> ArgLocs,
- unsigned ArgLocsStartIndex, const EVT &VT);
-
- void setLeastSignificantFirst(SmallVectorImpl<Register> &VRegs);
-
- MachineIRBuilder &MIRBuilder;
- MachineRegisterInfo &MRI;
-
- private:
- bool assign(Register VReg, const CCValAssign &VA, const EVT &VT);
-
- virtual Register getStackAddress(const CCValAssign &VA,
- MachineMemOperand *&MMO) = 0;
-
- virtual void assignValueToReg(Register ValVReg, const CCValAssign &VA,
- const EVT &VT) = 0;
-
- virtual void assignValueToAddress(Register ValVReg,
- const CCValAssign &VA) = 0;
-
- virtual bool handleSplit(SmallVectorImpl<Register> &VRegs,
- ArrayRef<CCValAssign> ArgLocs,
- unsigned ArgLocsStartIndex, Register ArgsReg,
- const EVT &VT) = 0;
- };
-#endif
-
MipsCallLowering(const MipsTargetLowering &TLI);
bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,
More information about the llvm-commits
mailing list