2019-10-18 15:30:14 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS GPUToNVVM.td)
|
|
|
|
mlir_tablegen(GPUToNVVM.cpp.inc -gen-rewriters)
|
|
|
|
add_public_tablegen_target(MLIRGPUToNVVMIncGen)
|
|
|
|
|
2019-06-17 18:56:20 +08:00
|
|
|
add_llvm_library(MLIRGPUtoNVVMTransforms
|
|
|
|
LowerGpuOpsToNVVMOps.cpp
|
|
|
|
)
|
2019-10-18 15:30:14 +08:00
|
|
|
|
2019-10-18 20:22:12 +08:00
|
|
|
add_dependencies(MLIRGPUtoNVVMTransforms
|
2019-10-18 15:30:14 +08:00
|
|
|
MLIRGPUToNVVMIncGen)
|
|
|
|
|
2019-06-17 18:56:20 +08:00
|
|
|
target_link_libraries(MLIRGPUtoNVVMTransforms
|
2019-06-18 20:00:13 +08:00
|
|
|
LLVMSupport
|
2019-06-17 18:56:20 +08:00
|
|
|
MLIRGPU
|
|
|
|
MLIRLLVMIR
|
|
|
|
MLIRNVVMIR
|
|
|
|
MLIRPass
|
|
|
|
)
|