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
29 lines
486 B
CMake
29 lines
486 B
CMake
add_mlir_dialect_library(MLIRMemRefTransforms
|
|
ComposeSubView.cpp
|
|
ExpandOps.cpp
|
|
FoldSubViewOps.cpp
|
|
MultiBuffer.cpp
|
|
NormalizeMemRefs.cpp
|
|
ResolveShapedTypeResultDims.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/MemRef
|
|
|
|
DEPENDS
|
|
MLIRMemRefPassIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRAffine
|
|
MLIRAffineUtils
|
|
MLIRArithmetic
|
|
MLIRFunc
|
|
MLIRInferTypeOpInterface
|
|
MLIRLoopLikeInterface
|
|
MLIRMemRef
|
|
MLIRPass
|
|
MLIRTensor
|
|
MLIRTransforms
|
|
MLIRVector
|
|
)
|
|
|