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
30 KiB
30 KiB