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 @@ -6031,19 +6031,6 @@ SIInstrInfo::getWholeWaveFunctionSetup(MachineFunction &MF) const {
60316031 llvm_unreachable (" Couldn't find SI_SETUP_WHOLE_WAVE_FUNC instruction" );
60326032}
60336033
6034- // FIXME: This should not be an overridable function. All subtarget dependent
6035- // operand modifications should go through isLookupRegClassByHwMode in the
6036- // generic handling.
6037- const TargetRegisterClass *
6038- SIInstrInfo::getRegClass (const MCInstrDesc &TID, unsigned OpNum,
6039- const TargetRegisterInfo *TRI) const {
6040- if (OpNum >= TID.getNumOperands ())
6041- return nullptr ;
6042- const MCOperandInfo &OpInfo = TID.operands ()[OpNum];
6043- int16_t RegClass = getOpRegClassID (OpInfo);
6044- return RegClass < 0 ? nullptr : RI.getRegClass (RegClass);
6045- }
6046-
60476034const TargetRegisterClass *SIInstrInfo::getOpRegClass (const MachineInstr &MI,
60486035 unsigned OpNo) const {
60496036 const MCInstrDesc &Desc = get (MI.getOpcode ());
Original file line number Diff line number Diff line change @@ -1562,10 +1562,6 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
15621562 // / Return true if this opcode should not be used by codegen.
15631563 bool isAsmOnlyOpcode (int MCOp) const ;
15641564
1565- const TargetRegisterClass *
1566- getRegClass (const MCInstrDesc &TID, unsigned OpNum,
1567- const TargetRegisterInfo *TRI) const override ;
1568-
15691565 void fixImplicitOperands (MachineInstr &MI) const ;
15701566
15711567 MachineInstr *foldMemoryOperandImpl (MachineFunction &MF, MachineInstr &MI,
You can’t perform that action at this time.
0 commit comments