Both ops allocate a buffer. There were cases in which the buffer was not deallocated.
Depends On D130463
Paths
| Differential D130469
[mlir][tensor][bufferize] Fix deallocation of GenerateOp/FromElementsOp ClosedPublic Authored by springerm on Jul 25 2022, 2:31 AM.
Details Summary Both ops allocate a buffer. There were cases in which the buffer was not deallocated. Depends On D130463
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 25 2022, 3:09 AM This revision was landed with ongoing or failed builds.Jul 25 2022, 3:28 AM Closed by commit rG664ffa46bb52: [mlir][tensor][bufferize] Fix deallocation of GenerateOp/FromElementsOp (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 447251 mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
mlir/test/Dialect/Tensor/one-shot-bufferize.mlir
|