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] Make IMCP work with Layers #7598

Merged
merged 2 commits into from
Sep 14, 2024
Merged

Conversation

seldridge
Copy link
Member

Change IMCP's module update to use a walk instead of only visiting
top-level ops. This is intended to be an entirely mechanical change and
is broken out in a separate commit because of its mechanical nature.

Change IMCP to recurse into layers. This has the effect of allowing IMCP
to sink constants into layers and to properly visit instances which are
instantiated under layers.

Change IMCP's module update to use a walk instead of only visiting
top-level ops.  This is intended to be an entirely mechanical change and
is broken out in a separate commit because of its mechanical nature.

Signed-off-by: Schuyler Eldridge <[email protected]>
Change IMCP to recurse into layers.  This has the effect of allowing IMCP
to sink constants into layers and to properly visit instances which are
instantiated under layers.

Signed-off-by: Schuyler Eldridge <[email protected]>
Copy link
Contributor

@dtzSiFive dtzSiFive left a comment

Choose a reason for hiding this comment

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

Awesome! This looks right to me!

@seldridge seldridge merged commit 3eadefc into main Sep 14, 2024
4 checks passed
@seldridge seldridge deleted the dev/seldridge/layers-imcp branch September 14, 2024 00:38
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