[PATCH] D78274: [MLIR] NFC after commit D77478.

lorenzo chelini via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 23:25:46 PDT 2020


chelini created this revision.
chelini added reviewers: ftynse, bondhugula.
chelini added a project: LLVM.
Herald added subscribers: llvm-commits, frgossen, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini, eraman.

Remove leftovers 'applyPatternsGreedily' from the codebase.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78274

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


Index: mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
===================================================================
--- mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
+++ mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
@@ -6,7 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file implements mlir::applyPatternsGreedily.
+// This file implements mlir::applyPatternsAndFoldGreedily.
 //
 //===----------------------------------------------------------------------===//
 
Index: mlir/lib/Transforms/Inliner.cpp
===================================================================
--- mlir/lib/Transforms/Inliner.cpp
+++ mlir/lib/Transforms/Inliner.cpp
@@ -518,7 +518,7 @@
 
     // 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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78274.257963.patch
Type: text/x-patch
Size: 1207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200416/6d2ed39a/attachment.bin>


More information about the llvm-commits mailing list