diff options
author | yoni206 <yoni206@users.noreply.github.com> | 2021-06-30 05:11:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-30 07:11:56 -0500 |
commit | 14944f1115fa2ad20afa3873626c2804731aff71 (patch) | |
tree | d1daf6cdf25988ae0c5f6b514e32764dbd1fa8eb /test/regress/CMakeLists.txt | |
parent | 373b6e1e8e91874afab16416f7acc3839f0027af (diff) |
int-to-bv: correct model values (#6811)
the int-to-bv preprocessing pass produced wrong models.
This PR fixes this in a similar fashion to other preprocessing passes, by adding a substitution to the preprocessing pass context. This requires moving the main translation function to be a class method, rather than a helper method in an empty namespace.
Thanks to @alex-ozdemir for raising this issue and producing a triggering benchmark (added to regressions in this PR).
Diffstat (limited to 'test/regress/CMakeLists.txt')
-rw-r--r-- | test/regress/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt index abd21e222..63d34ebe1 100644 --- a/test/regress/CMakeLists.txt +++ b/test/regress/CMakeLists.txt @@ -418,6 +418,7 @@ set(regress_0_tests regress0/bv/inequality04.smt2 regress0/bv/inequality05.smt2 regress0/bv/int_to_bv_err_on_demand_1.smt2 + regress0/bv/int_to_bv_model.smt2 regress0/bv/issue-4075.smt2 regress0/bv/issue-4076.smt2 regress0/bv/issue-4130.smt2 |