[Mlir-commits] [mlir] [MLIR][Affine] NFC. Fix outdated comment in affine analysis utils (PR #128406)

Uday Bondhugula llvmlistbot at llvm.org
Sat Feb 22 23:22:51 PST 2025


https://github.com/bondhugula created https://github.com/llvm/llvm-project/pull/128406

None

>From a89929efa4d21a1a4d85230a1c7cfbeb2cf567b5 Mon Sep 17 00:00:00 2001
From: Uday Bondhugula <uday at polymagelabs.com>
Date: Sun, 23 Feb 2025 12:51:11 +0530
Subject: [PATCH] [MLIR][Affine] NFC. Fix outdated comment in affine analysis
 utils

---
 mlir/lib/Dialect/Affine/Analysis/Utils.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/mlir/lib/Dialect/Affine/Analysis/Utils.cpp b/mlir/lib/Dialect/Affine/Analysis/Utils.cpp
index 7f06bc5160b9d..ba6f045cff408 100644
--- a/mlir/lib/Dialect/Affine/Analysis/Utils.cpp
+++ b/mlir/lib/Dialect/Affine/Analysis/Utils.cpp
@@ -282,9 +282,8 @@ bool MemRefDependenceGraph::init() {
       // Create graph node for top-level op unless it is known to be
       // memory-effect free. This covers all unknown/unregistered ops,
       // non-affine ops with memory effects, and region-holding ops with a
-      // well-defined control flow. During the fusion validity checks, we look
-      // for non-affine ops on the path from source to destination, at which
-      // point we check which memrefs if any are used in the region.
+      // well-defined control flow. During the fusion validity checks, edges
+      // to/from these ops get looked at.
       Node *node = addNodeToMDG(&op, *this, memrefAccesses);
       if (!node)
         return false;



More information about the Mlir-commits mailing list