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 {
6031
6031
llvm_unreachable (" Couldn't find SI_SETUP_WHOLE_WAVE_FUNC instruction" );
6032
6032
}
6033
6033
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
-
6047
6034
const TargetRegisterClass *SIInstrInfo::getOpRegClass (const MachineInstr &MI,
6048
6035
unsigned OpNo) const {
6049
6036
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 {
1562
1562
// / Return true if this opcode should not be used by codegen.
1563
1563
bool isAsmOnlyOpcode (int MCOp) const ;
1564
1564
1565
- const TargetRegisterClass *
1566
- getRegClass (const MCInstrDesc &TID, unsigned OpNum,
1567
- const TargetRegisterInfo *TRI) const override ;
1568
-
1569
1565
void fixImplicitOperands (MachineInstr &MI) const ;
1570
1566
1571
1567
MachineInstr *foldMemoryOperandImpl (MachineFunction &MF, MachineInstr &MI,
You can’t perform that action at this time.
0 commit comments