StandardToSPIRV currently contains an assortment of patterns converting from different dialects to SPIRV. This commit splits up StandardToSPIRV into separate conversions for each of the dialects involved (some of which already exist). Differential Revision: https://reviews.llvm.org/D120767
20 lines
300 B
CMake
20 lines
300 B
CMake
add_mlir_conversion_library(MLIRGPUToSPIRV
|
|
GPUToSPIRV.cpp
|
|
GPUToSPIRVPass.cpp
|
|
|
|
DEPENDS
|
|
MLIRConversionPassIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRArithmeticToSPIRV
|
|
MLIRGPUOps
|
|
MLIRFuncToSPIRV
|
|
MLIRIR
|
|
MLIRPass
|
|
MLIRSCFToSPIRV
|
|
MLIRSPIRV
|
|
MLIRSPIRVConversion
|
|
MLIRSupport
|
|
MLIRTransforms
|
|
)
|