[RISCV][GISel] Remove unused function leftover from a removed SDNodeXForm. NFC

Fixes #125551
This commit is contained in:
Craig Topper
2025-02-03 10:57:34 -08:00
parent e8100c399b
commit fc3ec135d3

View File

@@ -128,8 +128,6 @@ private:
int OpIdx) const;
void renderImmPlus1(MachineInstrBuilder &MIB, const MachineInstr &MI,
int OpIdx) const;
void renderImm(MachineInstrBuilder &MIB, const MachineInstr &MI,
int OpIdx) const;
void renderFrameIndex(MachineInstrBuilder &MIB, const MachineInstr &MI,
int OpIdx) const;
@@ -837,15 +835,6 @@ void RISCVInstructionSelector::renderImmPlus1(MachineInstrBuilder &MIB,
MIB.addImm(CstVal + 1);
}
void RISCVInstructionSelector::renderImm(MachineInstrBuilder &MIB,
const MachineInstr &MI,
int OpIdx) const {
assert(MI.getOpcode() == TargetOpcode::G_CONSTANT && OpIdx == -1 &&
"Expected G_CONSTANT");
int64_t CstVal = MI.getOperand(1).getCImm()->getSExtValue();
MIB.addImm(CstVal);
}
void RISCVInstructionSelector::renderFrameIndex(MachineInstrBuilder &MIB,
const MachineInstr &MI,
int OpIdx) const {