Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / tools / merge-fdata / CMakeLists.txt
blobf6a87a2268982e2fb724ff482454000c3284bb7a
1 set(LLVM_LINK_COMPONENTS Support)
3 add_bolt_tool(merge-fdata
4   merge-fdata.cpp
6   DISABLE_LLVM_LINK_LLVM_DYLIB
8   DEPENDS
9   intrinsics_gen
12 add_dependencies(bolt merge-fdata)
14 # Emit relocations for BOLT meta test (bolt/test/runtime/meta-merge-fdata.test)
15 if (BOLT_INCLUDE_TESTS AND UNIX AND NOT APPLE)
16   target_link_options(merge-fdata PRIVATE LINKER:--emit-relocs)
17 endif()