Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / tools / amdgpu-arch / CMakeLists.txt
blob1657c70125130890359adb5fe26112862fdd473c
1 # //===----------------------------------------------------------------------===//
2 # //
3 # // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 # // See https://llvm.org/LICENSE.txt for details.
5 # // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 # //
7 # //===----------------------------------------------------------------------===//
9 set(LLVM_LINK_COMPONENTS Support)
11 add_clang_tool(amdgpu-arch AMDGPUArch.cpp AMDGPUArchByHSA.cpp AMDGPUArchByHIP.cpp)
13 target_link_libraries(amdgpu-arch PRIVATE clangBasic)