diff options
| author | Reid Kleckner <rnk@google.com> | 2021-10-08 10:48:15 -0700 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2021-10-08 14:51:48 -0700 |
| commit | 89b57061f7b769e9ea9bf6ed686e284f3e55affe (patch) | |
| tree | bca28b6459fb9dbaef3f43c4222d414b4576d0de /polly/lib/CodeGen/PPCGCodeGeneration.cpp | |
| parent | 3db1ade368e538ba795486eea4923e331a8dde5a (diff) | |
Move TargetRegistry.(h|cpp) from Support to MC
This moves the registry higher in the LLVM library dependency stack.
Every client of the target registry needs to link against MC anyway to
actually use the target, so we might as well move this out of Support.
This allows us to ensure that Support doesn't have includes from MC/*.
Differential Revision: https://reviews.llvm.org/D111454
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
| -rw-r--r-- | polly/lib/CodeGen/PPCGCodeGeneration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp index f7fc2151f852..3c56dee49c16 100644 --- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp +++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp @@ -31,8 +31,8 @@ #include "llvm/IRReader/IRReader.h" #include "llvm/InitializePasses.h" #include "llvm/Linker/Linker.h" +#include "llvm/MC/TargetRegistry.h" #include "llvm/Support/SourceMgr.h" -#include "llvm/Support/TargetRegistry.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Transforms/IPO/PassManagerBuilder.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" |
