Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / unittests / Target / AMDGPU / CMakeLists.txt
blob2d7a47943df698512851f7f9371ae70bcdb8d975
1 include_directories(
2   ${PROJECT_SOURCE_DIR}/lib/Target/AMDGPU
3   ${PROJECT_BINARY_DIR}/lib/Target/AMDGPU
4   )
6 set(LLVM_LINK_COMPONENTS
7   AMDGPUCodeGen
8   AMDGPUDesc
9   AMDGPUInfo
10   AMDGPUUtils
11   CodeGen
12   CodeGenTypes
13   Core
14   MC
15   Support
16   TargetParser
17   )
19 add_llvm_target_unittest(AMDGPUTests
20   AMDGPUUnitTests.cpp
21   DwarfRegMappings.cpp
22   ExecMayBeModifiedBeforeAnyUse.cpp
23   )
25 set_property(TARGET AMDGPUTests PROPERTY FOLDER "Tests/UnitTests/TargetTests")