Skip to content
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

[OM] Expose ReferenceAttr to Python #5413

Merged
merged 1 commit into from
Jun 16, 2023
Merged

[OM] Expose ReferenceAttr to Python #5413

merged 1 commit into from
Jun 16, 2023

Conversation

nandor
Copy link
Contributor

@nandor nandor commented Jun 15, 2023

Converted the reference attribute and inner name ref chain to a Python tuple for OM object evaluation.

Copy link
Contributor

@mikeurbach mikeurbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for adding this. Do you mind adding a test in https://github.com/llvm/circt/blob/main/integration_test/Bindings/Python/dialects/om.py?

lib/Bindings/Python/support.py Show resolved Hide resolved
@nandor nandor merged commit 4f51075 into main Jun 16, 2023
5 checks passed
@nandor nandor deleted the dev/nandor/om-reference branch June 16, 2023 12:37
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.

None yet

2 participants