From a60fdd2ba487ea65f041930df4b7b0596bf28977 Mon Sep 17 00:00:00 2001 From: Lorenzo Chelini Date: Thu, 16 Apr 2020 10:30:11 +0200 Subject: [PATCH] [MLIR] NFC after commit D77478. Remove leftovers 'applyPatternsGreedily' from the codebase. Differential Revision: https://reviews.llvm.org/D78274 --- mlir/lib/Transforms/Inliner.cpp | 3 ++- mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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. // //===----------------------------------------------------------------------===//