File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -5954,19 +5954,6 @@ SIInstrInfo::getWholeWaveFunctionSetup(MachineFunction &MF) const {
59545954 llvm_unreachable (" Couldn't find SI_SETUP_WHOLE_WAVE_FUNC instruction" );
59555955}
59565956
5957- // FIXME: This should not be an overridable function. All subtarget dependent
5958- // operand modifications should go through isLookupRegClassByHwMode in the
5959- // generic handling.
5960- const TargetRegisterClass *
5961- SIInstrInfo::getRegClass (const MCInstrDesc &TID, unsigned OpNum,
5962- const TargetRegisterInfo *TRI) const {
5963- if (OpNum >= TID.getNumOperands ())
5964- return nullptr ;
5965- const MCOperandInfo &OpInfo = TID.operands ()[OpNum];
5966- int16_t RegClass = getOpRegClassID (OpInfo);
5967- return RegClass < 0 ? nullptr : RI.getRegClass (RegClass);
5968- }
5969-
59705957const TargetRegisterClass *SIInstrInfo::getOpRegClass (const MachineInstr &MI,
59715958 unsigned OpNo) const {
59725959 const MCInstrDesc &Desc = get (MI.getOpcode ());
Original file line number Diff line number Diff line change @@ -1539,10 +1539,6 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
15391539 // / Return true if this opcode should not be used by codegen.
15401540 bool isAsmOnlyOpcode (int MCOp) const ;
15411541
1542- const TargetRegisterClass *
1543- getRegClass (const MCInstrDesc &TID, unsigned OpNum,
1544- const TargetRegisterInfo *TRI) const override ;
1545-
15461542 void fixImplicitOperands (MachineInstr &MI) const ;
15471543
15481544 MachineInstr *foldMemoryOperandImpl (MachineFunction &MF, MachineInstr &MI,
You can’t perform that action at this time.
0 commit comments