Skip to content

Commit 4ca2b53

Browse files
committed
fixup! fixup! fixup! [mlir][linalg] Add support for scalable vectorization of linalg.mmt4d
Refine comment
1 parent 1ec6935 commit 4ca2b53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,9 +482,9 @@ Value VectorizationState::getOrCreateMaskFor(
482482
}
483483

484484
if (assumeDynamicDimsMatchVecSizes) {
485-
// While we can _assume_ that for dynamic dim sizes the corresponding
486-
// vector sizes match, we still need to check the static dim sizes to be
487-
// 100% sure that masking is indeed not required.
485+
// While for _dynamic_ dim sizes we can _assume_ that the corresponding
486+
// vector sizes match, we still need to check the _static_ dim sizes. Only
487+
// then we can be 100% sure that masking is not required.
488488
if (llvm::all_of(llvm::zip(permutedStaticSizes, maskType.getShape()),
489489
[](auto it) {
490490
return std::get<0>(it) == ShapedType::kDynamic

0 commit comments

Comments
 (0)