Skip to content

Commit 1aff0b1

Browse files
committed
fixup! [mlir][linalg] Enable scalable vectorization of linalg.unpack (WIP)
Remove leftover code + comments
1 parent 159b519 commit 1aff0b1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,6 @@ vectorizeAsTensorUnpackOp(RewriterBase &rewriter, linalg::UnPackOp unpackOp,
19101910
// 2. if outer_dims_perms is present: do that permutation on writeVectorSizes.
19111911
// 3. multiply all the locations in vectorSize pointed by innerDimPos by the
19121912
// innerTiles attribute value.
1913-
// SmallVector<int64_t> writeVectorSizes(inputVectorSizes);
19141913
if (writeVectorSizes.empty()) {
19151914
if (ShapedType::isDynamicShape(sourceShape))
19161915
return failure();
@@ -2112,9 +2111,6 @@ static LogicalResult
21122111
vectorizeUnPackOpPrecondition(linalg::UnPackOp unpackOp,
21132112
ArrayRef<int64_t> inputVectorSizes) {
21142113

2115-
// FIXME!!!
2116-
return success();
2117-
21182114
if (llvm::any_of(unpackOp.getInnerTiles(), [](OpFoldResult res) {
21192115
return !getConstantIntValue(res).has_value();
21202116
})) {

0 commit comments

Comments
 (0)