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

[FIRRTL] InferWidths: fix invalid frame reference #7697

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

youngar
Copy link
Member

@youngar youngar commented Oct 12, 2024

The frame.indent reference can be invalidated when we push to the worklist. This change caches the indentation level locally to fix the issue. Bug was introduced in b836e24.

@youngar youngar added bug Something isn't working FIRRTL Involving the `firrtl` dialect labels Oct 12, 2024
The frame.indent reference can be invalidated when we push to the
worklist. This change caches the indentation level locally to fix the
issue.
Copy link
Member

@seldridge seldridge left a comment

Choose a reason for hiding this comment

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

LGTM

@youngar youngar merged commit 3e3345e into llvm:main Oct 13, 2024
4 checks passed
@youngar youngar deleted the firrtl-inferwidths branch October 15, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FIRRTL Involving the `firrtl` dialect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants