Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / lib / Target / X86 / CMakeLists.txt
blob2b769bc7e7f5ce627cee3d3fca3a7d3ac566815a
1 set(LLVM_LINK_COMPONENTS
2   MC
3   MCDisassembler
4   Support
5   X86Desc
6   )
8 add_llvm_library(LLVMBOLTTargetX86
9   X86MCPlusBuilder.cpp
10   X86MCSymbolizer.cpp
12   DISABLE_LLVM_LINK_LLVM_DYLIB
14   DEPENDS
15   X86CommonTableGen
16   )
18 target_link_libraries(LLVMBOLTTargetX86 PRIVATE LLVMBOLTCore LLVMBOLTUtils)
20 include_directories(
21   ${LLVM_MAIN_SRC_DIR}/lib/Target/X86
22   ${LLVM_BINARY_DIR}/lib/Target/X86
23   )