1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[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
This commit is contained in:
Dean Michael Berris 2018-09-21 01:54:08 +00:00
parent 3f85f9ee6d
commit ad526e2931
3 changed files with 1 additions and 3 deletions

View File

@ -24,7 +24,6 @@ add_library(LLVMMCA
llvm_update_compile_flags(LLVMMCA)
llvm_map_components_to_libnames(libs
CodeGen
MC
Support
)

View File

@ -19,4 +19,4 @@
type = Library
name = MCA
parent = Libraries
required_libraries = CodeGen MC Support
required_libraries = MC Support

View File

@ -15,7 +15,6 @@
#include "Pipeline.h"
#include "HWEventListener.h"
#include "llvm/CodeGen/TargetSchedule.h"
#include "llvm/Support/Debug.h"
namespace mca {