Skip to content

Commit c4502e0

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

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
@@ -1950,7 +1950,6 @@ vectorizeAsTensorUnpackOp(RewriterBase &rewriter, linalg::UnPackOp unpackOp,
19501950
// 2. if outer_dims_perms is present: do that permutation on writeVectorSizes.
19511951
// 3. multiply all the locations in vectorSize pointed by innerDimPos by the
19521952
// innerTiles attribute value.
1953-
// SmallVector<int64_t> writeVectorSizes(inputVectorSizes);
19541953
if (writeVectorSizes.empty()) {
19551954
if (ShapedType::isDynamicShape(sourceShape))
19561955
return failure();
@@ -2138,9 +2137,6 @@ static LogicalResult
21382137
vectorizeUnPackOpPrecondition(linalg::UnPackOp unpackOp,
21392138
ArrayRef<int64_t> inputVectorSizes) {
21402139

2141-
// FIXME!!!
2142-
return success();
2143-
21442140
if (llvm::any_of(unpackOp.getInnerTiles(), [](OpFoldResult res) {
21452141
return !getConstantIntValue(res).has_value();
21462142
})) {

0 commit comments

Comments
 (0)