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

Andrzej WarzyƄski llvmlistbot at llvm.org
Thu Aug 6 03:48:21 PDT 2026


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

I would skip unless there's a negative test to excercise this.

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


More information about the Mlir-commits mailing list