Index: llvm/tools/llvm-mca/lib/CMakeLists.txt =================================================================== --- llvm/tools/llvm-mca/lib/CMakeLists.txt +++ llvm/tools/llvm-mca/lib/CMakeLists.txt @@ -24,7 +24,6 @@ llvm_update_compile_flags(LLVMMCA) llvm_map_components_to_libnames(libs - CodeGen MC Support ) Index: llvm/tools/llvm-mca/lib/LLVMBuild.txt =================================================================== --- llvm/tools/llvm-mca/lib/LLVMBuild.txt +++ 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 Index: llvm/tools/llvm-mca/lib/Pipeline.cpp =================================================================== --- llvm/tools/llvm-mca/lib/Pipeline.cpp +++ 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 {