SPIRVDialect.cpp
SPIRVOps.cpp
SPIRVTypes.cpp
- Transforms/StdOpsToSPIRVConversion.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/SPIRV
add_dependencies(MLIRSPIRV
MLIRSPIRVOpsIncGen
- MLIRSPIRVEnumsIncGen
- MLIRStdOpsToSPIRVConversionIncGen)
+ MLIRSPIRVEnumsIncGen)
target_link_libraries(MLIRSPIRV
MLIRIR
MLIRParser
MLIRSupport)
+add_subdirectory(Transforms)
add_subdirectory(Serialization)
--- /dev/null
+add_llvm_library(MLIRSPIRVConversion
+ StdOpsToSPIRVConversion.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${MLIR_MAIN_INCLUDE_DIR}/mlir/SPIRV
+ )
+
+add_dependencies(MLIRSPIRVConversion
+ MLIRStdOpsToSPIRVConversionIncGen)
+
+target_link_libraries(MLIRSPIRVConversion
+ MLIRIR
+ MLIRPass
+ MLIRSPIRV
+ MLIRSupport)