mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
R600: Remove dead code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
de7465af34
commit
1ba00eab26
@ -86,21 +86,6 @@ AMDGPUInstrInfo::convertToThreeAddress(MachineFunction::iterator &MFI,
|
||||
// TODO: Implement this function
|
||||
return nullptr;
|
||||
}
|
||||
bool AMDGPUInstrInfo::getNextBranchInstr(MachineBasicBlock::iterator &iter,
|
||||
MachineBasicBlock &MBB) const {
|
||||
while (iter != MBB.end()) {
|
||||
switch (iter->getOpcode()) {
|
||||
default:
|
||||
break;
|
||||
case AMDGPU::BRANCH_COND_i32:
|
||||
case AMDGPU::BRANCH_COND_f32:
|
||||
case AMDGPU::BRANCH:
|
||||
return true;
|
||||
};
|
||||
++iter;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
AMDGPUInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
|
||||
@ -352,7 +337,7 @@ int AMDGPUInstrInfo::getMaskedMIMGOp(uint16_t Opcode, unsigned Channels) const {
|
||||
}
|
||||
|
||||
// Wrapper for Tablegen'd function. enum Subtarget is not defined in any
|
||||
// header files, so we need to wrap it in a function that takes unsigned
|
||||
// header files, so we need to wrap it in a function that takes unsigned
|
||||
// instead.
|
||||
namespace llvm {
|
||||
namespace AMDGPU {
|
||||
|
@ -40,8 +40,6 @@ class MachineInstrBuilder;
|
||||
class AMDGPUInstrInfo : public AMDGPUGenInstrInfo {
|
||||
private:
|
||||
const AMDGPURegisterInfo RI;
|
||||
bool getNextBranchInstr(MachineBasicBlock::iterator &iter,
|
||||
MachineBasicBlock &MBB) const;
|
||||
virtual void anchor();
|
||||
protected:
|
||||
const AMDGPUSubtarget &ST;
|
||||
|
Loading…
Reference in New Issue
Block a user