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; 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. // //===----------------------------------------------------------------------===//