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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Feb 22 23:43:42 PST 2025


Author: Uday Bondhugula
Date: 2025-02-23T13:13:39+05:30
New Revision: 8ff4d27fe6b32ea1a127758c121cc2a980439833

URL: https://github.com/llvm/llvm-project/commit/8ff4d27fe6b32ea1a127758c121cc2a980439833
DIFF: https://github.com/llvm/llvm-project/commit/8ff4d27fe6b32ea1a127758c121cc2a980439833.diff

LOG: [MLIR][Affine] NFC. Fix outdated comment in affine analysis utils (#128406)

Added: 
    

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

Removed: 
    


################################################################################
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