[Mlir-commits] [mlir] [MLIR][linalg] Erase effectful producer after fusion if it's no longer used (PR #170036)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Dec 4 18:01:34 PST 2025


https://github.com/MaheshRavishankar requested changes to this pull request.

I am sympathetic to your use case, but I think this is the wrong place to make this change. I would rather add an option DCE, or greedy pattern rewriter to erase even with side-effecting operations. I would strongly suggest writing your own pass to remove such ops.


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


More information about the Mlir-commits mailing list