summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/lib/Pipeline.cpp
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2018-09-21 01:54:08 +0000
committerDean Michael Berris <dberris@google.com>2018-09-21 01:54:08 +0000
commit92a05bfbf03d5fa11d4003c755875e81ec4cdbcc (patch)
tree4985379a944d7ac201804c4cd007bdabad506b70 /llvm/tools/llvm-mca/lib/Pipeline.cpp
parenta3421c3ca99bb1ffbecc442de41b6c58050c0b99 (diff)
downloadbcm5719-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
Diffstat (limited to 'llvm/tools/llvm-mca/lib/Pipeline.cpp')
-rw-r--r--llvm/tools/llvm-mca/lib/Pipeline.cpp1
1 files changed, 0 insertions, 1 deletions
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 {
OpenPOWER on IntegriCloud