[Mlir-commits] [mlir] [MLIR][Linalg] Recompute linalg.broadcast dimensions when flattening (PR #213641)

Hugo Trachino llvmlistbot at llvm.org
Tue Aug 4 02:15:54 PDT 2026


================
@@ -1871,6 +1907,9 @@ FailureOr<CollapseResult> mlir::linalg::collapseOpIterationDims(
   }
 
   LinalgOp collapsedOp = createCollapsedOp(op, collapsingInfo, rewriter);
+  if (!collapsedOp)
+    return rewriter.notifyMatchFailure(
----------------
nujaa wrote:

Do you have an example for this outcome ?

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


More information about the Mlir-commits mailing list