Skip to content

Commit 4133218

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

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();
@@ -2120,9 +2119,6 @@ static LogicalResult
21202119
vectorizeUnPackOpPrecondition(linalg::UnPackOp unpackOp,
21212120
ArrayRef<int64_t> inputVectorSizes) {
21222121

2123-
// FIXME!!!
2124-
return success();
2125-
21262122
if (llvm::any_of(unpackOp.getInnerTiles(), [](OpFoldResult res) {
21272123
return !getConstantIntValue(res).has_value();
21282124
})) {

0 commit comments

Comments
 (0)