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[ir]: emit djump in dense selector table #3849

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

harkal
Copy link
Collaborator

@harkal harkal commented Mar 8, 2024

What I did

Updated the dense selector (used in optimization for codesize) to emit the target constrained djump instruction.

How I did it

Made a list of the possible targets and emitted the djump instruction with that.

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-->

@harkal harkal self-assigned this Mar 8, 2024
Copy link
Member

@charles-cooper charles-cooper left a comment

Choose a reason for hiding this comment

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

Seems fine. Will review more carefully later and merge

@codecov-commenter
Copy link

codecov-commenter commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.12%. Comparing base (787c562) to head (8b8f5e6).
Report is 1 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3849      +/-   ##
==========================================
- Coverage   86.15%   86.12%   -0.03%     
==========================================
  Files          92       92              
  Lines       13921    13923       +2     
  Branches     3067     3068       +1     
==========================================
- Hits        11993    11991       -2     
- Misses       1491     1495       +4     
  Partials      437      437              

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

@charles-cooper charles-cooper changed the title Update dense selector to emit the target constrained djump instruction feat[ir]: emit djump in dense selector table Mar 8, 2024
@charles-cooper charles-cooper enabled auto-merge (squash) March 8, 2024 20:52
Copy link
Member

@charles-cooper charles-cooper left a comment

Choose a reason for hiding this comment

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

lgtm. @cyberthirst could you take a look at this? @trocher too (time permitting)

@charles-cooper charles-cooper merged commit cf37ec2 into vyperlang:master Mar 8, 2024
83 checks passed
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.

3 participants