forked from OSchip/llvm-project
[MLIR] NFC after commit D77478.
Remove leftovers 'applyPatternsGreedily' from the codebase. Differential Revision: https://reviews.llvm.org/D78274
This commit is contained in:
parent
997f33cfee
commit
a60fdd2ba4
|
@ -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;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file implements mlir::applyPatternsGreedily.
|
||||
// This file implements mlir::applyPatternsAndFoldGreedily.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
|
|
Loading…
Reference in New Issue