[Mlir-commits] [mlir] [mlir][arith] Add canonicalize pattern for max/min with constants (PR #161057)

Ziliang Zhang llvmlistbot at llvm.org
Sun Sep 28 20:30:05 PDT 2025


ziliangzl wrote:

> Looks to me like these could be implemented as folder instead?

I just followed the same approach as AddIOp. Maybe implementing this as a TableGen pattern could simplify the code?




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


More information about the Mlir-commits mailing list