Add support for matchAndRewrite to the DialectConversion patterns. This also drops...
authorRiver Riddle <riverriddle@google.com>
Thu, 6 Jun 2019 22:38:08 +0000 (15:38 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 9 Jun 2019 23:21:20 +0000 (16:21 -0700)
commite25796ef6e7043de3a4d8d85b92cad5832ee676f
tree3a7d6a70674fc23f1e0d207307056aff4cb5fe6c
parent3ab5c0bfaffbdd03b44d047b98651c88716dbc28
Add support for matchAndRewrite to the DialectConversion patterns. This also drops the default "always succeed" match override to better align with RewritePattern.

PiperOrigin-RevId: 251941625
mlir/examples/Linalg/Linalg1/lib/ConvertToLLVMDialect.cpp
mlir/examples/Linalg/Linalg3/lib/ConvertToLLVMDialect.cpp
mlir/examples/toy/Ch5/mlir/EarlyLowering.cpp
mlir/examples/toy/Ch5/mlir/LateLowering.cpp
mlir/include/mlir/Transforms/DialectConversion.h
mlir/lib/LLVMIR/Transforms/ConvertToLLVMDialect.cpp
mlir/lib/Linalg/Transforms/LowerToLLVMDialect.cpp
mlir/lib/Transforms/DialectConversion.cpp