[Mlir-commits] [mlir] [MLIR][Vector] Fix typo from #226524 (PR #227642)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Sep 30 03:15:57 PDT 2026


https://github.com/banach-space created https://github.com/llvm/llvm-project/pull/227642

None

>From 7d2e414f749f859fd3c8221832930510652f320f Mon Sep 17 00:00:00 2001
From: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: Wed, 30 Sep 2026 10:13:32 +0000
Subject: [PATCH] [MLIR][Vector] Fix typo from #226524

---
 mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp b/mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
index f84e7450fc0ad..cb107ea6364c2 100644
--- a/mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
+++ b/mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
@@ -512,7 +512,7 @@ mlir::vector::castAwayContractionLeadingOneDim(vector::ContractionOp contractOp,
     newOp = mlir::vector::maskOperation(rewriter, newOp, newMask);
   }
 
-  return restoerLeadingUnitDimViaShapeCastOrBcast(
+  return restoreLeadingUnitDimViaShapeCastOrBcast(
       rewriter, loc, newOp->getResult(0), contractOp->getResultTypes()[0]);
 }
 



More information about the Mlir-commits mailing list