Skip to content

Commit 02f7f0c

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

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
@@ -1903,7 +1903,6 @@ vectorizeAsTensorUnpackOp(RewriterBase &rewriter, linalg::UnPackOp unpackOp,
19031903
// 2. if outer_dims_perms is present: do that permutation on writeVectorSizes.
19041904
// 3. multiply all the locations in vectorSize pointed by innerDimPos by the
19051905
// innerTiles attribute value.
1906-
// SmallVector<int64_t> writeVectorSizes(inputVectorSizes);
19071906
if (writeVectorSizes.empty()) {
19081907
if (ShapedType::isDynamicShape(sourceShape))
19091908
return failure();
@@ -2098,9 +2097,6 @@ static LogicalResult
20982097
vectorizeUnPackOpPrecondition(linalg::UnPackOp unpackOp,
20992098
ArrayRef<int64_t> inputVectorSizes) {
21002099

2101-
// FIXME!!!
2102-
return success();
2103-
21042100
if (llvm::any_of(unpackOp.getInnerTiles(), [](OpFoldResult res) {
21052101
return !getConstantIntValue(res).has_value();
21062102
})) {

0 commit comments

Comments
 (0)