[Mlir-commits] [mlir] [mlir][linalg] Add merge consecutive linalg::reduceOp optimization pass (PR #195048)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon May 11 22:01:31 PDT 2026


MaheshRavishankar wrote:

You can just add a new "populate*Patterns" method and write your own pass that pulls in the canonicalization patterns/other patterns you want. Then you can run all of them together. Personally I would not run the MLIR upstream canonicalization pass as is. In general (IMO) it has become a bit of kitchen sink and there might be patterns that you didnt want to run that get pulled in. Better to be more prescriptive about what patterns you want to run at a given point in time.

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


More information about the Mlir-commits mailing list