[ODS] Add new definitions for non-negative integer attributes
authorLei Zhang <antiagainst@google.com>
Sat, 3 Aug 2019 23:58:26 +0000 (16:58 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Sat, 3 Aug 2019 23:58:52 +0000 (16:58 -0700)
commit9d7655677f07b3512295de5c2eb361740c65b46e
tree12fa6cbda2cc2320a2fc729841ceb2f151431a9b
parent0c3923e1dc7ac7cf51f8bf6eff016473cf72ee6c
[ODS] Add new definitions for non-negative integer attributes

This CL added a new NonNegativeIntAttrBase class and two instantiations,
one for I32 and the other for I64.

PiperOrigin-RevId: 261513292
mlir/include/mlir/IR/OpBase.td
mlir/test/IR/attribute.mlir
mlir/test/lib/TestDialect/TestOps.td