matthias-springer wrote: Yes, the new deallocation pass (`-buffer-deallocation-pipeline`) can be used without One-Shot Bufferize. See documentation [here](https://mlir.llvm.org/docs/OwnershipBasedBufferDeallocation/). https://github.com/llvm/llvm-project/pull/121582