The current StandardToLLVM conversion patterns only really handle the Func dialect. The pass itself adds patterns for Arithmetic/CFToLLVM, but those should be/will be split out in a followup. This commit focuses solely on being an NFC rename. Aside from the directory change, the pattern and pass creation API have been renamed: * populateStdToLLVMFuncOpConversionPattern -> populateFuncToLLVMFuncOpConversionPattern * populateStdToLLVMConversionPatterns -> populateFuncToLLVMConversionPatterns * createLowerToLLVMPass -> createConvertFuncToLLVMPass Differential Revision: https://reviews.llvm.org/D120778
25 lines
446 B
CMake
25 lines
446 B
CMake
add_mlir_conversion_library(MLIRSPIRVToLLVM
|
|
ConvertLaunchFuncToLLVMCalls.cpp
|
|
SPIRVToLLVM.cpp
|
|
SPIRVToLLVMPass.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/SPIRVToLLVM
|
|
|
|
DEPENDS
|
|
MLIRConversionPassIncGen
|
|
intrinsics_gen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRArithmeticToLLVM
|
|
MLIRFuncToLLVM
|
|
MLIRGPUOps
|
|
MLIRIR
|
|
MLIRLLVMCommonConversion
|
|
MLIRLLVMIR
|
|
MLIRMemRefToLLVM
|
|
MLIRSPIRV
|
|
MLIRSPIRVUtils
|
|
MLIRTransforms
|
|
)
|