projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6596b0d
)
[mlir][affine] Fix build after D153324
author
Matthias Springer
<me@m-sp.org>
Thu, 22 Jun 2023 09:03:10 +0000
(11:03 +0200)
committer
Matthias Springer
<me@m-sp.org>
Thu, 22 Jun 2023 09:03:10 +0000
(11:03 +0200)
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
b/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
index
ae93942
..
f110a44
100644
(file)
--- 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>()) {