[mlir][affine] Fix build after D153324
authorMatthias Springer <me@m-sp.org>
Thu, 22 Jun 2023 09:03:10 +0000 (11:03 +0200)
committerMatthias Springer <me@m-sp.org>
Thu, 22 Jun 2023 09:03:10 +0000 (11:03 +0200)
mlir/lib/Dialect/Affine/IR/AffineOps.cpp

index ae93942..f110a44 100644 (file)
@@ -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>()) {