[Mlir-commits] [mlir] [mlir][tosa] Add allow-non-finites option for float min/max reduction (PR #222140)
Luke Hutton
llvmlistbot at llvm.org
Mon Sep 28 05:38:46 PDT 2026
================
@@ -1421,7 +1421,14 @@ def TosaToLinalg
"Disable tosa decompositions pass">,
Option<"aggressiveReduceConstant", "aggressive-reduce-constant",
"bool", /*default=*/"false",
- "Always perform the reduce constant optimization">
+ "Always perform the reduce constant optimization">,
+ Option<"allowNonFinites", "allow-non-finites", "bool",
----------------
lhutton1 wrote:
Was a name such as "seed-reductions-with-infinity" considered at all? "allow-non-finites" didn't seem very obvious what functionality was being toggled at first
https://github.com/llvm/llvm-project/pull/222140
More information about the Mlir-commits
mailing list