[MCA] Remove dependency on CodeGen.
authorDean Michael Berris <dberris@google.com>
Fri, 21 Sep 2018 01:54:08 +0000 (01:54 +0000)
committerDean Michael Berris <dberris@google.com>
Fri, 21 Sep 2018 01:54:08 +0000 (01:54 +0000)
commit92a05bfbf03d5fa11d4003c755875e81ec4cdbcc
tree4985379a944d7ac201804c4cd007bdabad506b70
parenta3421c3ca99bb1ffbecc442de41b6c58050c0b99
[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
llvm/tools/llvm-mca/lib/CMakeLists.txt
llvm/tools/llvm-mca/lib/LLVMBuild.txt
llvm/tools/llvm-mca/lib/Pipeline.cpp