Improve verifier error reporting on type mismatch (NFC)
authorMLIR Team <no-reply@google.com>
Fri, 13 Sep 2019 19:46:07 +0000 (12:46 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Fri, 13 Sep 2019 19:46:34 +0000 (12:46 -0700)
commitd3787e58654c15f8bfacc3471eba056f34782055
treebbace9e6f9db74a077114f671114992461503d1c
parent9274ed66ef30bf605b468ae1aba11363e879c930
Improve verifier error reporting on type mismatch (NFC)

Before this change, it only reports expected type but not exact type, so
it's hard to troubleshoot.

PiperOrigin-RevId: 268961078
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp