[Mlir-commits] [mlir] Fix GCC build problem with 288f05f related to SmallVector. (PR #116958)
Md Asghar Ahmad Shahid
llvmlistbot at llvm.org
Wed Nov 20 04:12:08 PST 2024
https://github.com/shahidact updated https://github.com/llvm/llvm-project/pull/116958
>From 7f764aa9e73d7522e8f198ed976b92d98bddc7dd Mon Sep 17 00:00:00 2001
From: mshahid <md.asghar.ahmad.shahid at intel.com>
Date: Wed, 20 Nov 2024 03:09:01 -0800
Subject: [PATCH] Fix GCC build problem with 288f05f related to SmallVector
---
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
index cce54695c0e6c5..26d9d2b091750c 100644
--- a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
+++ b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
@@ -3460,7 +3460,7 @@ namespace linalg {
/// Returns a list of AffineMap with the typical matmul indexing charactristic.
SmallVector<AffineMap> MatmulOp::getDefaultIndexingMaps(MLIRContext *context) {
AffineExpr d0, d1, d2;
- SmallVector<AffineMap, 3> indexingMaps;
+ SmallVector<AffineMap> indexingMaps;
bindDims(context, d0, d1, d2);
indexingMaps.push_back(AffineMap::get(3, 0, {d0, d2}, context));
indexingMaps.push_back(AffineMap::get(3, 0, {d2, d1}, context));
More information about the Mlir-commits
mailing list