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 {
5954
5954
llvm_unreachable (" Couldn't find SI_SETUP_WHOLE_WAVE_FUNC instruction" );
5955
5955
}
5956
5956
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
-
5970
5957
const TargetRegisterClass *SIInstrInfo::getOpRegClass (const MachineInstr &MI,
5971
5958
unsigned OpNo) const {
5972
5959
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 {
1539
1539
// / Return true if this opcode should not be used by codegen.
1540
1540
bool isAsmOnlyOpcode (int MCOp) const ;
1541
1541
1542
- const TargetRegisterClass *
1543
- getRegClass (const MCInstrDesc &TID, unsigned OpNum,
1544
- const TargetRegisterInfo *TRI) const override ;
1545
-
1546
1542
void fixImplicitOperands (MachineInstr &MI) const ;
1547
1543
1548
1544
MachineInstr *foldMemoryOperandImpl (MachineFunction &MF, MachineInstr &MI,
You can’t perform that action at this time.
0 commit comments