forked from OSchip/llvm-project
24 lines
469 B
CMake
24 lines
469 B
CMake
set(LLVM_TARGET_DEFINITIONS GPUToSPIRV.td)
|
|
mlir_tablegen(GPUToSPIRV.cpp.inc -gen-rewriters)
|
|
add_public_tablegen_target(MLIRGPUToSPIRVIncGen)
|
|
|
|
add_mlir_conversion_library(MLIRGPUtoSPIRVTransforms
|
|
ConvertGPUToSPIRV.cpp
|
|
ConvertGPUToSPIRVPass.cpp
|
|
|
|
DEPENDS
|
|
MLIRGPUToSPIRVIncGen
|
|
)
|
|
|
|
target_link_libraries(MLIRGPUtoSPIRVTransforms
|
|
PUBLIC
|
|
MLIRGPU
|
|
MLIRIR
|
|
MLIRPass
|
|
MLIRSPIRV
|
|
MLIRStandardOps
|
|
MLIRStandardToSPIRVTransforms
|
|
MLIRSupport
|
|
MLIRTransforms
|
|
)
|