[mlir] Support collecting logs from notifyMatchFailure().
authorChia-hung Duan <chiahungduan@google.com>
Sat, 4 Dec 2021 04:35:24 +0000 (04:35 +0000)
committerChia-hung Duan <chiahungduan@google.com>
Sat, 4 Dec 2021 04:35:24 +0000 (04:35 +0000)
commitb8c6b15283000f1f065acd10d487ef87df0542c9
tree53b7584b61ec357283a604ffcaa2f40e7f4f3d79
parent4022152b3592a8174ebf6f58f57724e43e5ebefc
[mlir] Support collecting logs from notifyMatchFailure().

Let the user registers their own handler to processing the matching
failure information.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D110896
mlir/include/mlir/Transforms/DialectConversion.h
mlir/lib/Transforms/Utils/DialectConversion.cpp