The last remaining operations in the standard dialect all revolve around FuncOp/function related constructs. This patch simply handles the initial renaming (which by itself is already huge), but there are a large number of cleanups unlocked/necessary afterwards: * Removing a bunch of unnecessary dependencies on Func * Cleaning up the From/ToStandard conversion passes * Preparing for the move of FuncOp to the Func dialect See the discussion at https://discourse.llvm.org/t/standard-dialect-the-final-chapter/6061 Differential Revision: https://reviews.llvm.org/D120624
24 lines
421 B
CMake
24 lines
421 B
CMake
add_mlir_dialect_library(MLIRFuncTransforms
|
|
DecomposeCallGraphTypes.cpp
|
|
FuncBufferize.cpp
|
|
FuncConversions.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Func/Transforms
|
|
|
|
DEPENDS
|
|
MLIRFuncTransformsIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRAffine
|
|
MLIRArithmeticTransforms
|
|
MLIRBufferization
|
|
MLIRBufferizationTransforms
|
|
MLIRFunc
|
|
MLIRIR
|
|
MLIRMemRef
|
|
MLIRPass
|
|
MLIRSCF
|
|
MLIRTransforms
|
|
)
|