Skip to content

Commit 8ff4d27

Browse files
authored
[MLIR][Affine] NFC. Fix outdated comment in affine analysis utils (#128406)
1 parent 33f2686 commit 8ff4d27

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mlir/lib/Dialect/Affine/Analysis/Utils.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,8 @@ bool MemRefDependenceGraph::init() {
282282
// Create graph node for top-level op unless it is known to be
283283
// memory-effect free. This covers all unknown/unregistered ops,
284284
// non-affine ops with memory effects, and region-holding ops with a
285-
// well-defined control flow. During the fusion validity checks, we look
286-
// for non-affine ops on the path from source to destination, at which
287-
// point we check which memrefs if any are used in the region.
285+
// well-defined control flow. During the fusion validity checks, edges
286+
// to/from these ops get looked at.
288287
Node *node = addNodeToMDG(&op, *this, memrefAccesses);
289288
if (!node)
290289
return false;

0 commit comments

Comments
 (0)