summaryrefslogtreecommitdiffstats
path: root/mlir/unittests/TableGen/StructsGenTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [mlir] Enhance classof() checks in StructsGenLei Zhang2020-01-031-2/+27
| | | | | | | | | | | Previously we only check that each field is of the correct mlir::Attribute subclass. This commit enhances to also consider the attribute's types, by leveraging the constraints already encoded in TableGen attribute definitions. Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D72162
* Adjust License.txt file to use the LLVM licenseMehdi Amini2019-12-231-13/+4
| | | | PiperOrigin-RevId: 286906740
* minor spelling tweaksKazuaki Ishizaki2019-12-061-1/+1
| | | | | | | Closes tensorflow/mlir#290 COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/290 from kiszk:spelling_tweaks_201912 9d9afd16a723dd65754a04698b3976f150a6054a PiperOrigin-RevId: 284169681
* Avoid sign-compare warningJacques Pienaar2019-09-091-3/+3
| | | | PiperOrigin-RevId: 268132321
* Added a TableGen generator for structured dataRob Suderman2019-08-301-0/+146
Similar to enum, added a generator for structured data. This provide Dictionary that stores a fixed set of values and guarantees the values are valid. It is intended to store a fixed number of values by a given name. PiperOrigin-RevId: 266437460
OpenPOWER on IntegriCloud