andrey-golubev wrote: @ftynse @joker-eph @River707 please take a look! I have stumbled upon this problem when patching one-shot bufferization and figured it makes sense to fix the behaviour instead of working around it. https://github.com/llvm/llvm-project/pull/147699