-
-
Notifications
You must be signed in to change notification settings - Fork 800
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]: fix offset pass #4248
base: master
Are you sure you want to change the base?
feat[venom]: fix offset pass #4248
Conversation
and isinstance(inst.operands[0], IRLiteral) | ||
and isinstance(inst.operands[1], IRLabel) | ||
): | ||
if not inst.opcode == "add": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not inst.opcode == "add": | |
if inst.opcode != "add": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no wonder it was not working!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4248 +/- ##
===========================================
- Coverage 89.39% 51.35% -38.05%
===========================================
Files 112 112
Lines 15923 15928 +5
Branches 2693 2695 +2
===========================================
- Hits 14235 8180 -6055
- Misses 1192 7120 +5928
- Partials 496 628 +132 ☔ View full report in Codecov by Sentry. |
What I did
fix offset pass in the case that the arguments are swapped
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