HomePhabricator

[mlir] Add support for non-identifier attribute names.

Authored by rriddle on Mar 11 2020, 1:22 PM.

Description

[mlir] Add support for non-identifier attribute names.

Summary: In some situations the name of the attribute is not representable as a bare-identifier, this revision adds support for those cases by formatting the name as a string instead. This has the added benefit of removing the identifier regex from the verifier.

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