Skip to content

Teach op parsers to use enum keyword parsing helpers #770

@seven-mile

Description

@seven-mile

Similar to LLVM dialect, we have enum keyword parsing helpers like parseOptionalCIRKeyword and parseCIRKeyword. We should reuse them to implement existing enum parsing logic, e.g. function visibility and switch case kind.

Originally posted by @bcardosolopes in #760 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions