ODG: Always deference operand/result when using named arg/result.
authorJacques Pienaar <jpienaar@google.com>
Wed, 5 Jun 2019 02:31:30 +0000 (19:31 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 9 Jun 2019 23:18:10 +0000 (16:18 -0700)
commit7438dcb71f4f3a38ef0add60c6f307736412d188
tree957287f8df40a715e81f25f6c19a1ed097bd3db8
parentf1b848e4701a4cd3fa781c259e3728faff1c31df
ODG: Always deference operand/result when using named arg/result.

Considered adding more placeholders to designate types in the replacement pattern, but convinced for now sticking to simpler approach. This should at least enable specifying constraints across operands/results/attributes and we can start getting rid of the special cases.

PiperOrigin-RevId: 251564893
mlir/include/mlir/IR/OpBase.td
mlir/test/TestDialect/TestOps.td
mlir/test/mlir-tblgen/types.mlir
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp