mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 06:31:50 +08:00
[RISCV][GISel] Remove unused function leftover from a removed SDNodeXForm. NFC
Fixes #125551
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user