[ods] Update Operator to record Arg->[Attr|Operand]Index mapping
authorJacques Pienaar <jpienaar@google.com>
Mon, 29 Jun 2020 23:40:52 +0000 (16:40 -0700)
committerJacques Pienaar <jpienaar@google.com>
Mon, 29 Jun 2020 23:40:52 +0000 (16:40 -0700)
commit71b9d89df78f25f373b6352c0f0c1e3a539634d0
treef6a3994f2d84c6fb55527eb4a74da0149964dafb
parent9b04d69ccefb57ec202a0ecdb36a84ed0568aead
[ods] Update Operator to record Arg->[Attr|Operand]Index mapping

Also fixed bug in type inferface generator to address bug where operands and
attributes are interleaved.

Differential Revision: https://reviews.llvm.org/D82819
mlir/include/mlir/TableGen/Operator.h
mlir/lib/TableGen/Operator.cpp
mlir/test/mlir-tblgen/op-result.td
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp