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:
parent
110a3cbd81
commit
8bcd0c0408
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user