[Mlir-commits] [mlir] [mlir][bufferization] Fix bug when moving dealloc operation (PR #229296)

Pranav Alavandi llvmlistbot at llvm.org
Tue Oct 13 19:52:38 PDT 2026


pranavalavandi wrote:

Thanks a lot for reviewing this @matthias-springer really appreciate your time. And I learnt a lot.

A closing question re this PR:

I am a little bit surprised that MLIR does not have such functionality to generally support "safely" moving operations around. I guess ultimately looking around at the code, what "moving" means is up to each dialect/pass to consider and such considerations will differ enough.

Although considering the operands and results when moving something _should_ be pretty stock standard across different parts of the MLIR framework?

Is there some action from this to consider adding such utilities? Forgive me if I have missed something in the codebase that already does such a thing and bufferization is just a specific example. 

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


More information about the Mlir-commits mailing list