Skip to content

Commit 80359dd

Browse files
committed
Feedback
1 parent 4d8a286 commit 80359dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,10 +860,10 @@ struct UnrollStepPattern : public OpRewritePattern<vector::StepOp> {
860860
Value result = arith::ConstantOp::create(rewriter, loc, vecType,
861861
rewriter.getZeroAttr(vecType));
862862

863-
VectorType targetVecType =
863+
auto targetVecType =
864864
VectorType::get(*targetShape, vecType.getElementType());
865865
Value baseStep = vector::StepOp::create(rewriter, loc, targetVecType);
866-
for (SmallVector<int64_t> offsets :
866+
for (const SmallVector<int64_t> &offsets :
867867
StaticTileOffsetRange({originalSize}, *targetShape)) {
868868
Value bcastOffset = arith::ConstantOp::create(
869869
rewriter, loc, targetVecType,

0 commit comments

Comments
 (0)