Matthias Springer 129420df51 [mlir][bufferization][NFC] Move EmptyTensorToAllocTensorPass
This change moves the pass from the Linalg dialect to the bufferization dialect.

Differential Revision: https://reviews.llvm.org/D135130
2022-10-05 09:57:22 +09:00

35 lines
752 B
CMake

add_mlir_dialect_library(MLIRBufferizationTransforms
AllocTensorElimination.cpp
Bufferize.cpp
BufferDeallocation.cpp
BufferOptimizations.cpp
BufferResultsToOutParams.cpp
BufferUtils.cpp
BufferViewFlowAnalysis.cpp
DropEquivalentBufferResults.cpp
EmptyTensorToAllocTensor.cpp
FuncBufferizableOpInterfaceImpl.cpp
OneShotAnalysis.cpp
OneShotModuleBufferize.cpp
TensorCopyInsertion.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Bufferization
DEPENDS
MLIRBufferizationPassIncGen
LINK_LIBS PUBLIC
MLIRBufferizationDialect
MLIRControlFlowInterfaces
MLIRFuncDialect
MLIRInferTypeOpInterface
MLIRIR
MLIRMemRefDialect
MLIRPass
MLIRTensorDialect
MLIRTransforms
MLIRViewLikeInterface
)