[Mlir-commits] [mlir] e95d9c9 - [ADT][mlir] Fix gcc build error
Jakub Kuderski
llvmlistbot at llvm.org
Wed Mar 15 17:24:54 PDT 2023
Author: Jakub Kuderski
Date: 2023-03-15T20:22:35-04:00
New Revision: e95d9c92208e659d3e3929b941ff72ec5494b4ec
URL: https://github.com/llvm/llvm-project/commit/e95d9c92208e659d3e3929b941ff72ec5494b4ec
DIFF: https://github.com/llvm/llvm-project/commit/e95d9c92208e659d3e3929b941ff72ec5494b4ec.diff
LOG: [ADT][mlir] Fix gcc build error
Add `template` to fix a buildbot:
https://lab.llvm.org/buildbot/#/builders/199/builds/18363.
This is a post-commit fix for https://reviews.llvm.org/D144503,
submitted as a0a76804c4b5.
Added:
Modified:
mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp b/mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
index f7333164e968a..cfc27ca44e421 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
@@ -192,7 +192,7 @@ struct LinalgOpTilingInterface
}
for (const auto &resultExpr : llvm::enumerate(indexingMap.getResults())) {
unsigned dimPosition =
- resultExpr.value().cast<AffineDimExpr>().getPosition();
+ resultExpr.value().template cast<AffineDimExpr>().getPosition();
iterationTileOffsets[dimPosition] = offsets[resultExpr.index()];
iterationTileSizes[dimPosition] = sizes[resultExpr.index()];
}
More information about the Mlir-commits
mailing list