Skip to content

fix[venom]: liveness assumption venom to assembly #4716

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

Conversation

HodanPlodky
Copy link
Collaborator

What I did

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

charles-cooper and others added 3 commits July 8, 2025 12:25
this commit strengthens an assumption in venom_to_assembly. due to
SSA form, the arguments to phi must be in the predecessor blocks. this
means that the def does not reach any use from both branches, except in
the case that the use is a phi.
@@ -1,5 +1,5 @@
from vyper.venom.analysis import DFGAnalysis, LivenessAnalysis
from vyper.venom.basicblock import IRInstruction, IRVariable
from vyper.venom.basicblock import IRBasicBlock, IRInstruction, IROperand, IRVariable

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'IROperand' is not used.
Copy link

codecov bot commented Jul 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.01%. Comparing base (b74f825) to head (1f353b5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4716   +/-   ##
=======================================
  Coverage   93.00%   93.01%           
=======================================
  Files         131      131           
  Lines       19095    19106   +11     
  Branches     3324     3327    +3     
=======================================
+ Hits        17760    17771   +11     
  Misses        898      898           
  Partials      437      437           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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