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][FIRParser] Cache property constants. #7530

Merged

Conversation

dtzSiFive
Copy link
Contributor

Greatly reduces IR size generated in presence of many repeat constants as commonly occurs in practice due to the data-like nature of classes / properties.

Same tricky as done for FIRRTL integer constants,
use single cache/code for both.

Greatly reduces IR size generated in presence of many repeat
constants as commonly occurs in practice due to the data-like
nature of classes / properties.

Same tricky as done for FIRRTL integer constants,
use single cache/code for both.
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.

Nice, makes sense to me!

@dtzSiFive dtzSiFive merged commit fcbd718 into llvm:main Aug 19, 2024
4 checks passed
@dtzSiFive dtzSiFive deleted the feature/cache-property-constants-parser branch August 19, 2024 17:28
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