Simplify container type definitions
authorGeoffrey Martin-Noble <gcmn@google.com>
Tue, 21 May 2019 22:44:17 +0000 (15:44 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 02:55:33 +0000 (19:55 -0700)
commit7a4869e3164fea27f9b9ec946b1d4af301ac3fc0
tree930f581dd0ff2e24cee1fff5e3717453eaa22bcb
parent3902cef954ed34974f7f577d8eac978e68d58135
Simplify container type definitions

    The passed element type description is usually unnecessary, and it's just as valid to want to pass a description for the entire container. In either case there's an alternative (Separate element type def or a TypeAlias) and we don't need to pollute the main API.

    To allow for this, I cleaned up the TF op definitions and added some additional utilities.

--

PiperOrigin-RevId: 249340979
mlir/include/mlir/IR/OpBase.td