mirror of https://github.com/llvm/torch-mlir
Change to notifyMatchFailure (#1073)
emitError is intended for error cases and not match failures of patterns. notifyMatchFailure is intended where pattern reports reason for not matching. Op verification should also not happen inside patterns but as part of verify/verification, but left ones that were obviously verification to emitError inside patterns to keep this change small.pull/1061/head
parent
baa4383c44
commit
247dd64a66