Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / lib / Target / RISCV / CMakeLists.txt
blob7f95576063200882b44f27e87e76e84dd96525e7
1 set(LLVM_LINK_COMPONENTS
2   MC
3   Support
4   RISCVDesc
5   )
7 add_llvm_library(LLVMBOLTTargetRISCV
8   RISCVMCPlusBuilder.cpp
10   DISABLE_LLVM_LINK_LLVM_DYLIB
12   DEPENDS
13   RISCVCommonTableGen
14   )
16 target_link_libraries(LLVMBOLTTargetRISCV PRIVATE LLVMBOLTCore)
18 include_directories(
19   ${LLVM_MAIN_SRC_DIR}/lib/Target/RISCV
20   ${LLVM_BINARY_DIR}/lib/Target/RISCV
21   )