forked from OSchip/llvm-project
[AMDGPU] Forward-declare TargetRegisterClass (NFC)
AMDGPUInstructionSelector.h needs TargetRegisterClass but relies on a forward declaration of TargetRegisterClass in InstructionSelector.h. This patch adds a forward declaration right in AMDGPUInstructionSelector.h. While we are at it, this patch removes the one in InstructionSelector.h, where it is unnecessary.
This commit is contained in:
parent
494ac2a607
commit
6bde085366
|
@ -39,7 +39,6 @@ class MachineOperand;
|
|||
class MachineRegisterInfo;
|
||||
class RegisterBankInfo;
|
||||
class TargetInstrInfo;
|
||||
class TargetRegisterClass;
|
||||
class TargetRegisterInfo;
|
||||
|
||||
/// Container class for CodeGen predicate results.
|
||||
|
|
|
@ -45,6 +45,7 @@ class RegisterBank;
|
|||
class SIInstrInfo;
|
||||
class SIMachineFunctionInfo;
|
||||
class SIRegisterInfo;
|
||||
class TargetRegisterClass;
|
||||
|
||||
class AMDGPUInstructionSelector final : public InstructionSelector {
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue