Files
clang-p2996/mlir/lib/Dialect/Bufferization/Transforms/CMakeLists.txt
Matthias Springer 213917be82 [mlir][bufferization] Remove buffer-deallocation pass (#126366)
The `-buffer-deallocation` pass is not compatible with One-Shot
Bufferize and has been replaced with the Ownership-based Buffer
Deallocation pass about 1.5 years ago. To clean up the code base, this
commit removes the deprecated `buffer-deallocation` pass. All uses of
this deprecated pass within MLIR have already been migrated.

Note for LLVM integration: If you depend on this pass, migrate to the
Ownership-based Buffer Deallocation pass or copy the pass to your
codebase. For details, see
https://discourse.llvm.org/t/psa-bufferization-new-buffer-deallocation-pipeline/73375.
2025-02-13 09:49:16 +01:00

45 lines
1.0 KiB
CMake

add_mlir_dialect_library(MLIRBufferizationTransforms
Bufferize.cpp
BufferDeallocationSimplification.cpp
BufferOptimizations.cpp
BufferResultsToOutParams.cpp
BufferUtils.cpp
BufferViewFlowAnalysis.cpp
DropEquivalentBufferResults.cpp
EmptyTensorElimination.cpp
EmptyTensorToAllocTensor.cpp
FuncBufferizableOpInterfaceImpl.cpp
LowerDeallocations.cpp
OneShotAnalysis.cpp
OneShotModuleBufferize.cpp
OwnershipBasedBufferDeallocation.cpp
TensorCopyInsertion.cpp
OptimizeAllocationLiveness.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Bufferization
DEPENDS
MLIRBufferizationPassIncGen
MLIRBufferizationEnumsIncGen
LINK_LIBS PUBLIC
MLIRArithDialect
MLIRBufferizationDialect
MLIRCallInterfaces
MLIRControlFlowInterfaces
MLIRFuncDialect
MLIRFunctionInterfaces
MLIRInferTypeOpInterface
MLIRIR
MLIRMemRefDialect
MLIRPass
MLIRTensorDialect
MLIRSCFDialect
MLIRSideEffectInterfaces
MLIRSubsetOpInterface
MLIRTransforms
MLIRViewLikeInterface
MLIRSupport
)