Skip to content

Commit 3782eb6

Browse files
[mlir][TilingInterface] NFC Improve comment for tiledAndFusedOps member of SCFTileAndFuseResult (#145397)
Comment was a little unclear, hopefully this change is an improvement.
1 parent 509fb93 commit 3782eb6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,10 @@ FailureOr<SmallVector<Operation *>> yieldReplacementForFusedProducer(
272272
struct SCFTileAndFuseResult {
273273
/// List of untiled operations that were fused with the tiled consumer.
274274
llvm::SetVector<Operation *> fusedProducers;
275-
/// List of tiled and fused operations generated. The first one in this list
276-
/// is guaranteed to be the tiled operations generated during tiling of the
277-
/// generated operation.
275+
/// List of tiled and fused operations generated. The first element is always
276+
/// the tiled version of the original consumer operation processed by
277+
/// `tileConsumerAndFuseProducersUsingSCF`, followed by any operations that
278+
/// were fused with it.
278279
llvm::SetVector<Operation *> tiledAndFusedOps;
279280
/// The `scf.for` operations that iterate over the tiles.
280281
SmallVector<LoopLikeOpInterface> loops;

0 commit comments

Comments
 (0)