Skip to content

[CIR] Clean up enum attributes #1678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025
Merged

[CIR] Clean up enum attributes #1678

merged 1 commit into from
Jun 18, 2025

Conversation

xlauko
Copy link
Collaborator

@xlauko xlauko commented Jun 12, 2025

  • Create CIR specific EnumAttr bases and prefix enum attributes with CIR_ that automatically puts enum to cir namespace

  • Removes unnecessary enum case definitions

  • Unifies naming of enum values to use capitals consistently and make enumerations to start from 0

  • Remove now unnecessary printers/parsers that gets to be generated automatically

@xlauko
Copy link
Collaborator Author

xlauko commented Jun 12, 2025

@xlauko xlauko marked this pull request as ready for review June 12, 2025 10:49
@xlauko xlauko force-pushed the users/xlauko/cir-enum-attrs branch from df06292 to 0989f80 Compare June 12, 2025 10:58
Create CIR specific EnumAttr bases and prefix enum attributes with `CIR_`
@xlauko
Copy link
Collaborator Author

xlauko commented Jun 18, 2025

Merge activity

  • Jun 18, 5:29 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 18, 5:31 AM UTC: @xlauko merged this pull request with Graphite.

@xlauko xlauko merged commit bd610ad into main Jun 18, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants