diff options
author | Tom Stellard <tstellar@redhat.com> | 2018-05-22 02:03:23 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2018-05-22 02:03:23 +0000 |
commit | 44b30b453743e95d79ba69a7b9155e23ed4595e5 (patch) | |
tree | c1c1cd287bac375427d6a3e404380ddc38c19470 /llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp | |
parent | d97a95ae2ca44afa5e664d602e9e26b3eb65f106 (diff) | |
download | bcm5719-llvm-44b30b453743e95d79ba69a7b9155e23ed4595e5.tar.gz bcm5719-llvm-44b30b453743e95d79ba69a7b9155e23ed4595e5.zip |
AMDGPU: Remove #include "MCTargetDesc/AMDGPUMCTargetDesc.h" from common headers
Summary:
MCTargetDesc/AMDGPUMCTargetDesc.h contains enums for all the instuction
and register defintions, which are huge so we only want to include
them where needed.
This will also make it easier if we want to split the R600 and GCN
definitions into separate tablegenerated files.
I was unable to remove AMDGPUMCTargetDesc.h from SIMachineFunctionInfo.h
because it uses some enums from the header to initialize default values
for the SIMachineFunction class, so I ended up having to remove includes of
SIMachineFunctionInfo.h from headers too.
Reviewers: arsenm, nhaehnle
Reviewed By: nhaehnle
Subscribers: MatzeB, kzhuravl, wdng, yaxunl, dstuttard, tpr, t-tye, javed.absar, llvm-commits
Differential Revision: https://reviews.llvm.org/D46272
llvm-svn: 332930
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp b/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp index 574f21019bb..3c95fbf9b7e 100644 --- a/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp +++ b/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp @@ -19,6 +19,7 @@ #include "AMDGPUSubtarget.h" #include "SIDefines.h" #include "SIInstrInfo.h" +#include "MCTargetDesc/AMDGPUMCTargetDesc.h" #include "Utils/AMDGPUBaseInfo.h" #include "llvm/ADT/None.h" #include "llvm/ADT/Optional.h" |