-
Notifications
You must be signed in to change notification settings - Fork 274
[Refactor] New SMT backend: Remove X-macro implementation from smt_bit_vector_theory
#6615
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
Codecov Report
@@ Coverage Diff @@
## develop #6615 +/- ##
===========================================
+ Coverage 76.65% 76.71% +0.05%
===========================================
Files 1579 1577 -2
Lines 181294 181503 +209
===========================================
+ Hits 138973 139232 +259
+ Misses 42321 42271 -50
Continue to review full report at Codecov.
|
And substitute it for a concrete class in `smt_bit_vector_theory.cpp`.
And substitute it with a concrete class implementation.
And substitute it with a concrete class implementation.
…cro. And substitute it with a concrete class implementation.
And substitute it with a concrete class implementation.
And substitute it with a concrete class implementation.
And substitute it with a concrete class implementation.
290f022
to
9ae203f
Compare
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.
A few nit picks -
- I would have separated the final removal of the
.def
and macro definitions into a separate commits, given that you already separated each of the individual operations. - Using the word "Remove" in the commit title misses the point of what the commits are doing. They are refactoring the implementation to not use macros, not removing functionality.
- Needs the clang-format / linting failure fixing.
This all looks fine otherwise.
Given that this was the last macro definition in `smt_bit_vector_theory.def`, also delete that file along with its usages in the header and implementation file.
9ae203f
to
8e9a74a
Compare
Hello,
The aim of this PR is to provide some structural changes and fixes to some issues identified
in the new SMT backend we have been working on for some time.
More explicitly:
X-macro
based implementation of relational operators in thesmt_bit_vector_theory
, so that the implementation is consistent with the approach taken for the arithmetic operators.Attention:
This PR has been based on #6614 and assumes that gets in first. As such, some of the earlier commits here don't correspond to the scope of the work being done.