[Mlir-commits] [mlir] [mlir] [linalg] Fold reduce(broadcast(x)) max/min (PR #213190)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Wed Aug 5 01:51:33 PDT 2026
================
@@ -2016,6 +2016,143 @@ LogicalResult ReduceOp::verify() {
return success();
}
+namespace {
+
+enum class BroadcastReduceKind {
+ MaxSI,
+ MaxUI,
+ MinSI,
+ MinUI,
+};
+
+static std::optional<BroadcastReduceKind>
----------------
ftynse wrote:
Document all top-level entries.
https://github.com/llvm/llvm-project/pull/213190
More information about the Mlir-commits
mailing list