Skip to content

Commit 12c3e79

Browse files
committed
fixup! [mlir][linalg] Enable scalable vectorization of linalg.unpack (WIP)
Remove leftover code + comments
1 parent 953eaf0 commit 12c3e79

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
@@ -1904,7 +1904,6 @@ vectorizeAsTensorUnpackOp(RewriterBase &rewriter, linalg::UnPackOp unpackOp,
19041904
// 2. if outer_dims_perms is present: do that permutation on writeVectorSizes.
19051905
// 3. multiply all the locations in vectorSize pointed by innerDimPos by the
19061906
// innerTiles attribute value.
1907-
// SmallVector<int64_t> writeVectorSizes(inputVectorSizes);
19081907
if (writeVectorSizes.empty()) {
19091908
if (ShapedType::isDynamicShape(sourceShape))
19101909
return failure();
@@ -2113,9 +2112,6 @@ static LogicalResult
21132112
vectorizeUnPackOpPrecondition(linalg::UnPackOp unpackOp,
21142113
ArrayRef<int64_t> inputVectorSizes) {
21152114

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

0 commit comments

Comments
 (0)