Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun-Fly committed Aug 16, 2024
1 parent 89ef377 commit d7fe9c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ struct PackOpTiling
ArrayRef<OpFoldResult> offsets, ArrayRef<OpFoldResult> sizes,
SmallVectorImpl<OpFoldResult> &resultOffsets,
SmallVectorImpl<OpFoldResult> &resultSizes) const {
if (operandNumber != 0)
return failure();

auto packOp = cast<PackOp>(op);
Location loc = packOp.getLoc();

Expand Down Expand Up @@ -299,6 +302,9 @@ struct PackOpTiling
FailureOr<TilingResult> getTiledImplementationFromOperandTile(
Operation *op, OpBuilder &b, unsigned operandNumber,
ArrayRef<OpFoldResult> offsets, ArrayRef<OpFoldResult> sizes) const {
if (operandNumber != 0)
return failure();

auto packOp = cast<PackOp>(op);
Location loc = packOp.getLoc();

Expand Down

0 comments on commit d7fe9c7

Please sign in to comment.