1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

AMDGPU/GlobalISel: Remove dead code

This commit is contained in:
Matt Arsenault 2020-02-18 09:34:31 -05:00 committed by Matt Arsenault
parent 110a3cbd81
commit 8bcd0c0408
2 changed files with 0 additions and 20 deletions

View File

@ -2508,23 +2508,6 @@ AMDGPUInstructionSelector::selectVOP3PMods(MachineOperand &Root) const {
}};
}
InstructionSelector::ComplexRendererFns
AMDGPUInstructionSelector::selectVOP3PMods0(MachineOperand &Root) const {
MachineRegisterInfo &MRI
= Root.getParent()->getParent()->getParent()->getRegInfo();
Register Src;
unsigned Mods;
std::tie(Src, Mods) = selectVOP3PModsImpl(Root.getReg(), MRI);
return {{
[=](MachineInstrBuilder &MIB) { MIB.addReg(Src); },
[=](MachineInstrBuilder &MIB) { MIB.addImm(Mods); } , // src_mods
// FIXME: Handle clamp and op_sel
[=](MachineInstrBuilder &MIB) { MIB.addImm(0); }
}};
}
InstructionSelector::ComplexRendererFns
AMDGPUInstructionSelector::selectVOP3Mods_nnan(MachineOperand &Root) const {
Register Src;

View File

@ -154,9 +154,6 @@ private:
InstructionSelector::ComplexRendererFns
selectVOP3PMods(MachineOperand &Root) const;
InstructionSelector::ComplexRendererFns
selectVOP3PMods0(MachineOperand &Root) const;
InstructionSelector::ComplexRendererFns
selectVOP3OpSelMods0(MachineOperand &Root) const;
InstructionSelector::ComplexRendererFns