[mlir][ods] Op::verify should not call OpAdaptor::verify
authorMogball <jeffniu22@gmail.com>
Wed, 3 Nov 2021 17:06:14 +0000 (17:06 +0000)
committerMogball <jeffniu22@gmail.com>
Thu, 4 Nov 2021 19:12:55 +0000 (19:12 +0000)
commit8129b04b8a9e4ca65c25d1e837a3c72cbcebf4c9
tree8b01f83df7809ea9937cff1950d9d7dbeaa8871c
parent461c06aa3be15f57c292c3aeb07cd5f57b39277d
[mlir][ods] Op::verify should not call OpAdaptor::verify

OpAdaptor::verify performs string lookups on an attribute dictionary. By
calling OpAdaptor::verify, Op::verify is not able to use cached attribute
identifiers for faster lookups.

Reviewed By: jpienaar, rriddle

Differential Revision: https://reviews.llvm.org/D113039
mlir/test/mlir-tblgen/op-attribute.td
mlir/test/mlir-tblgen/predicate.td
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp