[llvm-branch-commits] [mlir] [mlir][bufferization] Preserve deallocs shared with skipped allocations (PR #237124)

Zhijie Wang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Oct 30 00:59:21 PDT 2026


aeft wrote:

The planner can erase shared deallocs still needed by a skipped allocation, causing a memory leak. Check actual candidate eligibility and propagate exclusions through shared deallocs, preserving groups that cannot be rewritten together.

reproducer: https://godbolt.org/z/aT54ddej1

https://github.com/llvm/llvm-project/pull/237124


More information about the llvm-branch-commits mailing list