mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[AMDGPU] Forward-declare AMDGPUTargetMachine (NFC)
AMDGPUTargetTransformInfo.h needs AMDGPUTargetMachine but relies on a forward declaration of AMDGPUTargetMachine in AMDGPU.h. This patch adds a forward declaration right in AMDGPUTargetTransformInfo.h. While we are at it, this patch removes the one in AMDGPU.h, where it is unnecessary.
This commit is contained in:
parent
a19c13eefd
commit
58d7d68bee
@ -15,7 +15,6 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class AMDGPUTargetMachine;
|
||||
class FunctionPass;
|
||||
class GCNTargetMachine;
|
||||
class ImmutablePass;
|
||||
|
@ -25,6 +25,7 @@
|
||||
namespace llvm {
|
||||
|
||||
class AMDGPUTargetLowering;
|
||||
class AMDGPUTargetMachine;
|
||||
class GCNSubtarget;
|
||||
class InstCombiner;
|
||||
class Loop;
|
||||
|
Loading…
Reference in New Issue
Block a user