Update 'applyPatternsGreedily' to work on the regions of any operations.
authorRiver Riddle <riverriddle@google.com>
Mon, 15 Jul 2019 16:52:52 +0000 (09:52 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 16 Jul 2019 20:44:39 +0000 (13:44 -0700)
commite7a2ef21f9fc9f10e03b97e9e73055e3447a1aa7
treeb26fa3a963d9116e0dc0979f920b0077769dc436
parent7d1e1e672127b974684c79e384fa5b545b98964f
Update 'applyPatternsGreedily' to work on the regions of any operations.

'applyPatternsGreedily' is a useful utility outside of just function regions.

PiperOrigin-RevId: 258182937
mlir/include/mlir/IR/PatternMatch.h
mlir/include/mlir/Transforms/DialectConversion.h
mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp