[Mlir-commits] [mlir] [MLIR][XeGPU] Enhance multi-reduction layout propagation rules (PR #186308)

Igor Zamyatin llvmlistbot at llvm.org
Tue Mar 17 10:05:01 PDT 2026


================
@@ -1142,7 +1143,6 @@ void LayoutInfoPropagation::visitLoadMatrixOp(
   if (!hasParamsOfLayoutKind(anchorLayout)) {
     VectorType resVecTy =
         llvm::cast<VectorType>(loadMatrixOp.getRes().getType());
-    assert(resVecTy.getRank() == 2 && "Expecting 2D vector for store matrix.");
     const uArch *uArch = getUArch(getChipStr(loadMatrixOp).value_or(""));
----------------
Garra1980 wrote:

do we need to extend existing tests for this change?

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


More information about the Mlir-commits mailing list