llvm-project/mlir/lib/Conversion/GPUToNVVM/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
388 B
CMake
Raw Normal View History

set(LLVM_TARGET_DEFINITIONS GPUToNVVM.td)
mlir_tablegen(GPUToNVVM.cpp.inc -gen-rewriters)
add_public_tablegen_target(MLIRGPUToNVVMIncGen)
add_llvm_library(MLIRGPUtoNVVMTransforms
LowerGpuOpsToNVVMOps.cpp
)
add_dependencies(MLIRGPUtoNVVMTransforms
MLIRGPUToNVVMIncGen)
target_link_libraries(MLIRGPUtoNVVMTransforms
LLVMSupport
MLIRGPU
MLIRLLVMIR
MLIRNVVMIR
MLIRPass
)