aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.cpp')
-rw-r--r--mlir/lib/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.cpp b/mlir/lib/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.cpp
index 3aa801b..69afbca 100644
--- a/mlir/lib/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.cpp
+++ b/mlir/lib/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.cpp
@@ -107,7 +107,7 @@ struct CollapseShapeOpInterface
assert(value == collapseOp.getResult() && "invalid value");
// Multiply the expressions for the dimensions in the reassociation group.
- const ReassociationIndices &reassocIndices =
+ const ReassociationIndices reassocIndices =
collapseOp.getReassociationIndices()[dim];
AffineExpr productExpr =
cstr.getExpr(collapseOp.getSrc(), reassocIndices[0]);