[MLIR] NFC after commit D77478.
authorLorenzo Chelini <l.chelini@icloud.com>
Thu, 16 Apr 2020 08:30:11 +0000 (10:30 +0200)
committerAlex Zinenko <zinenko@google.com>
Thu, 16 Apr 2020 08:32:01 +0000 (10:32 +0200)
Remove leftovers 'applyPatternsGreedily' from the codebase.

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

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

index 9826f5c..96a0988 100644 (file)
@@ -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;
index 256c134..2ebf1d6 100644 (file)
@@ -6,7 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file implements mlir::applyPatternsGreedily.
+// This file implements mlir::applyPatternsAndFoldGreedily.
 //
 //===----------------------------------------------------------------------===//