Skip to content

Commit bd4b776

Browse files
committed
Fix comments
1 parent c00fe1a commit bd4b776

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1690,7 +1690,7 @@ struct DecomposeOuterUnitDimsPackOpPattern
16901690
/// Rewrites a linalg::UnPackOp into a sequence of rank-reduced
16911691
/// * tensor::ExtractSliceOp + linalg::TransposeOp + tensor::InsertSliceOp
16921692
///
1693-
/// Requires that all the tile outer dims of the input linalg::PackOp are 1.
1693+
/// Requires that all the tiled outer dims of the input linalg::PackOp are 1.
16941694
///
16951695
/// Before:
16961696
/// ```

mlir/lib/Dialect/Tensor/IR/TensorOps.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2310,7 +2310,6 @@ RankedTensorType ExtractSliceOp::inferResultType(
23102310
sourceTensorType.getEncoding());
23112311
}
23122312

2313-
// TODO: This uses neither offsets nor strides!
23142313
RankedTensorType ExtractSliceOp::inferResultType(
23152314
RankedTensorType sourceTensorType, ArrayRef<OpFoldResult> offsets,
23162315
ArrayRef<OpFoldResult> sizes, ArrayRef<OpFoldResult> strides) {

0 commit comments

Comments
 (0)