set(LLVM_LINK_COMPONENTS
  AllTargetsAsmPrinters
  AllTargetsAsmParsers
  AllTargetsDescs
  AllTargetsDisassemblers
  AllTargetsInfos
  MC
  MCParser
  Support
  )

add_llvm_tool(llvm-mca
  Backend.cpp
  BackendPrinter.cpp
  CodeRegion.cpp
  Dispatch.cpp
  DispatchStatistics.cpp
  HWEventListener.cpp
  InstrBuilder.cpp
  Instruction.cpp
  InstructionInfoView.cpp
  InstructionTables.cpp
  LSUnit.cpp
  llvm-mca.cpp
  RegisterFileStatistics.cpp
  ResourcePressureView.cpp
  RetireControlUnitStatistics.cpp
  Scheduler.cpp
  SchedulerStatistics.cpp
  Support.cpp
  SummaryView.cpp
  TimelineView.cpp
  View.cpp
  )

set(LLVM_LINK_COMPONENTS
  AllTargetsAsmParsers
  AllTargetsDescs
  )

add_llvm_tool(llvm-mca
  Backend.cpp
  BackendPrinter.cpp
  CodeRegion.cpp
  Dispatch.cpp
  DispatchStatistics.cpp
  HWEventListener.cpp
  InstrBuilder.cpp
  Instruction.cpp
  InstructionInfoView.cpp
  InstructionTables.cpp
  LSUnit.cpp
  llvm-mca.cpp
  RegisterFileStatistics.cpp
  ResourcePressureView.cpp
  RetireControlUnitStatistics.cpp
  Scheduler.cpp
  SchedulerStatistics.cpp
  Support.cpp
  SummaryView.cpp
  TimelineView.cpp
  View.cpp
  )

Remove unused libraries from set LLVM_LINK_COMPONENTS.
[llvm-mca][CMake] Remove unused libraries from set LLVM_LINK_COMPONENTS.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@329807 91177308-0d34-0410-b5e6-96231b3b80d8
