[Mlir-commits] [mlir] 79f4585 - [mlir][affine] Fix build after D153324
Matthias Springer
llvmlistbot at llvm.org
Thu Jun 22 02:06:01 PDT 2023
Author: Matthias Springer
Date: 2023-06-22T11:03:10+02:00
New Revision: 79f45856e977fbcd7bb98672cd427947d4d538db
URL: https://github.com/llvm/llvm-project/commit/79f45856e977fbcd7bb98672cd427947d4d538db
DIFF: https://github.com/llvm/llvm-project/commit/79f45856e977fbcd7bb98672cd427947d4d538db.diff
LOG: [mlir][affine] Fix build after D153324
Added:
Modified:
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Affine/IR/AffineOps.cpp b/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
index ae93942bb8f0b..f110a446758f4 100644
--- a/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
+++ b/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
@@ -1199,7 +1199,7 @@ static SmallVector<Value>
foldAttributesIntoMap(Builder &b, AffineMap *map,
ArrayRef<OpFoldResult> operands) {
SmallVector<AffineExpr> dimReplacements, symReplacements;
- SmallVector<Value, 8> valueOperands;
+ SmallVector<Value> valueOperands;
int64_t numDims = 0;
for (int64_t i = 0; i < map->getNumDims(); ++i) {
if (auto attr = operands[i].dyn_cast<Attribute>()) {
More information about the Mlir-commits
mailing list