HomePhabricator

[mlir][DeclarativeParser] Add support for formatting enum attributes in the…

Authored by rriddle on Feb 13 2020, 5:11 PM.

Description

[mlir][DeclarativeParser] Add support for formatting enum attributes in the string form.

Summary: This revision adds support to the declarative parser for formatting enum attributes in the symbolized form. It uses this new functionality to port several of the SPIRV parsers over to the declarative form.

Differential Revision: https://reviews.llvm.org/D74525