int2bv: Fix conversion of signed bit-vector values. (#7061)
authorMathias Preiner <mathias.preiner@gmail.com>
Thu, 26 Aug 2021 00:50:53 +0000 (17:50 -0700)
committerGitHub <noreply@github.com>
Thu, 26 Aug 2021 00:50:53 +0000 (00:50 +0000)
commita81064b538382670f25c87f138961f12def7880a
tree7a536209012716bbe4c6fb4aa6c651b47494a3d5
parent71f025753f734ddade5da333dfe2d144fbc13221
int2bv: Fix conversion of signed bit-vector values. (#7061)

This commit fixes the conversion of signed bit-vector values to integers in the int-to-bv preprocessing pass.
src/preprocessing/passes/int_to_bv.cpp
test/regress/CMakeLists.txt
test/regress/regress0/bv/int_to_bv_model2.smt2 [new file with mode: 0644]