Skip to content

Commit 4c3646f

Browse files
update comment.
1 parent fa4c826 commit 4c3646f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/Vector/IR/VectorOps.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,8 +1989,8 @@ static Value foldScalarExtractFromFromElements(ExtractOp extractOp) {
19891989
return fromElementsOp.getElements()[flatIndex];
19901990
}
19911991

1992-
// If the dynamic indices of `extractOp` or `insertOp` are result of
1993-
// `constantOp`, then fold it.
1992+
/// If the dynamic indices of `extractOp` or `insertOp` are in fact constants,
1993+
/// then fold it.
19941994
template <typename OpType, typename AdaptorType>
19951995
static Value extractInsertFoldConstantOp(OpType op, AdaptorType adaptor,
19961996
SmallVectorImpl<Value> &operands) {

0 commit comments

Comments
 (0)