[Mlir-commits] [mlir] [mlir][bufferization] Fix ownership computation of unknown ops (PR #70773)
Matthias Springer
llvmlistbot at llvm.org
Tue Oct 31 17:25:38 PDT 2023
matthias-springer wrote:
> However, the whole deallocation pass/pipeline was designed with the assumption that all tensor values are already bufferized. Deallocating only partially bufferized IR might thus lead to problems.
"Problems" means "memory leak" but not "duplicate free" or "use after free", right?
I would phrase it as follows: The deallocation pass takes into account only memory allocations that exist at the time when the pass is run. If a subsequent pass inserts additional memory allocations, these must be handled manually.
https://github.com/llvm/llvm-project/pull/70773
More information about the Mlir-commits
mailing list