[Mlir-commits] [mlir] a60fdd2 - [MLIR] NFC after commit D77478.

Alex Zinenko llvmlistbot at llvm.org
Thu Apr 16 01:32:10 PDT 2020


Author: Lorenzo Chelini
Date: 2020-04-16T10:32:01+02:00
New Revision: a60fdd2ba487ea65f041930df4b7b0596bf28977

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

LOG: [MLIR] NFC after commit D77478.

Remove leftovers 'applyPatternsGreedily' from the codebase.

Differential Revision: https://reviews.llvm.org/D78274

Added: 
    

Modified: 
    mlir/lib/Transforms/Inliner.cpp
    mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Transforms/Inliner.cpp b/mlir/lib/Transforms/Inliner.cpp
index 9826f5ca187f..96a098819972 100644
--- a/mlir/lib/Transforms/Inliner.cpp
+++ b/mlir/lib/Transforms/Inliner.cpp
@@ -518,7 +518,8 @@ static void canonicalizeSCC(CallGraph &cg, CGUseList &useList,
 
     // We also won't apply canonicalizations for nodes that are not
     // isolated. This avoids potentially mutating the regions of nodes defined
-    // above, this is also a stipulation of the 'applyPatternsGreedily' driver.
+    // above, this is also a stipulation of the 'applyPatternsAndFoldGreedily'
+    // driver.
     auto *region = node->getCallableRegion();
     if (!region->getParentOp()->isKnownIsolatedFromAbove())
       continue;

diff  --git a/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp b/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
index 256c1340d0c6..2ebf1d6a47d7 100644
--- a/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
+++ b/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
@@ -6,7 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file implements mlir::applyPatternsGreedily.
+// This file implements mlir::applyPatternsAndFoldGreedily.
 //
 //===----------------------------------------------------------------------===//
 


        


More information about the Mlir-commits mailing list