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

feat[venom]: store expansion pass #4068

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

charles-cooper
Copy link
Member

@charles-cooper charles-cooper commented May 31, 2024

What I did

expand extract_literals pass to also extract variables, allowing for more degrees of freedom in the dft pass

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

extract IRLiterals which are instruction arguments; this reduces
pressure on the stack scheduler
vyper/venom/passes/extract_literals.py Fixed Show fixed Hide fixed
vyper/venom/passes/store_expansion.py Fixed Show fixed Hide fixed
vyper/venom/passes/store_expansion.py Fixed Show fixed Hide fixed
Copy link

codecov bot commented May 31, 2024

Codecov Report

Attention: Patch coverage is 72.85714% with 19 lines in your changes missing coverage. Please review.

Project coverage is 90.15%. Comparing base (e21f3e8) to head (df469c6).

Files with missing lines Patch % Lines
vyper/venom/venom_to_assembly.py 51.28% 13 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4068      +/-   ##
==========================================
- Coverage   91.36%   90.15%   -1.21%     
==========================================
  Files         108      109       +1     
  Lines       15637    15687      +50     
  Branches     3440     3448       +8     
==========================================
- Hits        14287    14143     -144     
- Misses        920     1067     +147     
- Partials      430      477      +47     
Flag Coverage Δ
90.13% <72.85%> (-1.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@charles-cooper charles-cooper changed the title feat: store expansion pass feat[venom]: store expansion pass Sep 25, 2024
@charles-cooper charles-cooper marked this pull request as ready for review September 25, 2024 15:11
@charles-cooper
Copy link
Member Author

also incidentally fixes #4215

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.

1 participant