[Mlir-commits] [mlir] [mlir][arith] Fix issue where setOperand is called inside the fold fu… (PR #204506)

Renato Golin llvmlistbot at llvm.org
Mon Jun 22 01:26:54 PDT 2026


rengolin wrote:

> That said, I still don't fully understand the rationale behind this design. What is the distinction between a folder and a canonicalization pattern now? Is a folder essentially just a canonicalization pattern that is restricted to modifying only the current operation?

There has been some recent discussions in that area:
https://discourse.llvm.org/t/canonicalization-in-mlir/89841

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


More information about the Mlir-commits mailing list