https://github.com/MaheshRavishankar approved this pull request. I dont think it is realist to fold anything that is not on value semantics. The dependency tracking is just too hard to manage in buffer semantics. https://github.com/llvm/llvm-project/pull/102888