diff options
| author | Dean Michael Berris <dberris@google.com> | 2018-09-21 01:54:08 +0000 |
|---|---|---|
| committer | Dean Michael Berris <dberris@google.com> | 2018-09-21 01:54:08 +0000 |
| commit | 92a05bfbf03d5fa11d4003c755875e81ec4cdbcc (patch) | |
| tree | 4985379a944d7ac201804c4cd007bdabad506b70 | |
| parent | a3421c3ca99bb1ffbecc442de41b6c58050c0b99 (diff) | |
| download | bcm5719-llvm-92a05bfbf03d5fa11d4003c755875e81ec4cdbcc.tar.gz bcm5719-llvm-92a05bfbf03d5fa11d4003c755875e81ec4cdbcc.zip | |
[MCA] Remove dependency on CodeGen.
Summary:
There isn't any actual dependency - there's one #include from CodeGen
but nothing from the header is actually used.
With this change we can use the MCA library from CodeGen without
circular dependencies (e.g. for scheduling).
Reviewers: andreadb
Reviewed By: andreadb
Authored By: orodley
Subscribers: mgorny, gbedwell, llvm-commits
Differential Revision: https://reviews.llvm.org/D52288
llvm-svn: 342706
| -rw-r--r-- | llvm/tools/llvm-mca/lib/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | llvm/tools/llvm-mca/lib/LLVMBuild.txt | 2 | ||||
| -rw-r--r-- | llvm/tools/llvm-mca/lib/Pipeline.cpp | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/llvm/tools/llvm-mca/lib/CMakeLists.txt b/llvm/tools/llvm-mca/lib/CMakeLists.txt index df9ed32acfe..359a7d49d49 100644 --- a/llvm/tools/llvm-mca/lib/CMakeLists.txt +++ b/llvm/tools/llvm-mca/lib/CMakeLists.txt @@ -24,7 +24,6 @@ add_library(LLVMMCA llvm_update_compile_flags(LLVMMCA) llvm_map_components_to_libnames(libs - CodeGen MC Support ) diff --git a/llvm/tools/llvm-mca/lib/LLVMBuild.txt b/llvm/tools/llvm-mca/lib/LLVMBuild.txt index e3bf632741b..75f3a9e2229 100644 --- a/llvm/tools/llvm-mca/lib/LLVMBuild.txt +++ b/llvm/tools/llvm-mca/lib/LLVMBuild.txt @@ -19,4 +19,4 @@ type = Library name = MCA parent = Libraries -required_libraries = CodeGen MC Support +required_libraries = MC Support diff --git a/llvm/tools/llvm-mca/lib/Pipeline.cpp b/llvm/tools/llvm-mca/lib/Pipeline.cpp index a67ae98d7cd..28696cae9aa 100644 --- a/llvm/tools/llvm-mca/lib/Pipeline.cpp +++ b/llvm/tools/llvm-mca/lib/Pipeline.cpp @@ -15,7 +15,6 @@ #include "Pipeline.h" #include "HWEventListener.h" -#include "llvm/CodeGen/TargetSchedule.h" #include "llvm/Support/Debug.h" namespace mca { |

