Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / tools / heatmap / CMakeLists.txt
blobacddc7a50e8b1feb1ac8aa084137c46bc422b4f6
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   MC
4   Object
5   Support
6   )
8 add_bolt_tool(llvm-bolt-heatmap
9   heatmap.cpp
10   DISABLE_LLVM_LINK_LLVM_DYLIB
11   )
13 target_link_libraries(llvm-bolt-heatmap
14   PRIVATE
15   LLVMBOLTProfile
16   LLVMBOLTRewrite
17   LLVMBOLTUtils
18   )
20 add_dependencies(bolt llvm-bolt-heatmap)