[mlir][DeclarativeParser] Add support for attributes with buildable types.
authorRiver Riddle <riddleriver@gmail.com>
Sat, 8 Feb 2020 18:01:17 +0000 (10:01 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Sat, 8 Feb 2020 23:46:46 +0000 (15:46 -0800)
commit1b2c16f2ae41eff124a11b8a5c343fb7688a2a85
treebc79cef3894bef5e4a6ee58bf988f9aff5229143
parent327e062a026a521d528244c12b38b8d6a2026b77
[mlir][DeclarativeParser] Add support for attributes with buildable types.

This revision adds support in the declarative assembly form for printing attributes with buildable types without the type, and moves several more parsers over to the declarative form.

Differential Revision: https://reviews.llvm.org/D74276
mlir/docs/OpDefinitions.md
mlir/include/mlir/IR/OpBase.td
mlir/include/mlir/IR/OpImplementation.h
mlir/include/mlir/TableGen/Attribute.h
mlir/lib/IR/AsmPrinter.cpp
mlir/lib/Parser/Parser.cpp
mlir/lib/TableGen/Attribute.cpp
mlir/tools/mlir-tblgen/OpFormatGen.cpp