[Mlir-commits] [mlir] [mlir][arith] Fold min/max with absorption and redundancy (PR #160224)

Ziliang Zhang llvmlistbot at llvm.org
Sun Sep 28 00:11:49 PDT 2025


ziliangzl wrote:

Hi @kuhar,

I’ve added the fold pattern `min(min(a, b), b) -> min(a, b)` for maximumf, minimumf, maxnumf, and minnumf. I believe this folding is safe. Could you please take a look and help review/merge it?

Thanks!

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


More information about the Mlir-commits mailing list