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.

22 lines
450 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_mlir_conversion_library(MLIRGPUtoNVVMTransforms
LowerGpuOpsToNVVMOps.cpp
)
add_dependencies(MLIRGPUtoNVVMTransforms
MLIRGPUToNVVMIncGen)
target_link_libraries(MLIRGPUtoNVVMTransforms
PUBLIC
LLVMSupport
MLIRGPU
MLIRLLVMIR
MLIRNVVMIR
MLIRPass
MLIRStandardToLLVM
MLIRTransformUtils
)