HomePhabricator

[mlir][ODS] Add new SymbolNameAttr and add support for in assemblyFormat

Authored by rriddle on Aug 31 2020, 12:33 PM.

Description

[mlir][ODS] Add new SymbolNameAttr and add support for in assemblyFormat

Symbol names are a special form of StringAttr that get treated specially in certain areas, such as formatting. This revision adds a special derived attr for them in ODS and adds support in the assemblyFormat for formatting them properly.

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