Files
clang-p2996/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
Joel Wee 8498c9e948 [mlir][GreedyPatternRewriter] Add out param to detect changes in IR in applyPatternsAndFoldGreedily
This allows users of `applyPatternsAndFoldGreedily` to detect if any MLIR changes have occurred. An example use-case is where we expect the `applyPatternsAndFoldGreedily` to change the IR and want to validate that it indeed does change it.

Differential Revision: https://reviews.llvm.org/D153986
2023-06-29 12:48:00 +02:00

30 KiB