Filter DialectConversion pattern to be considered only if the root kind matches...
authorMehdi Amini <aminim@google.com>
Sat, 6 Apr 2019 17:53:00 +0000 (10:53 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 8 Apr 2019 01:21:34 +0000 (18:21 -0700)
commitf40634ef3a11897b0c1c3aba4e9c4024c3fef594
treed4c45e95d1450ad1f3d0c0b9e52109b5a42f3ade
parented84d7000c6fcbe438d4ecbff9eacbee65887ef7
Filter DialectConversion pattern to be considered only if the root kind matches the operation.

    This is the same logic as the PatterRewriter.

--

PiperOrigin-RevId: 242287241
mlir/lib/Transforms/DialectConversion.cpp