summaryrefslogtreecommitdiff
path: root/test/regress/regress3
diff options
context:
space:
mode:
authoryoni206 <yoni206@users.noreply.github.com>2020-10-13 23:28:36 -0700
committerGitHub <noreply@github.com>2020-10-13 23:28:36 -0700
commit1cecdb3b4d8be47d446be5d33cc4d3063061d2b3 (patch)
tree11416528c4ba2132b756d4a7b39ce99387a37a79 /test/regress/regress3
parent0ddae476216452696dbb809173afc2fb440a7c57 (diff)
bv2int: rewritings and unsat cores (#5263)
This commit fixes several issues with bv-to-int preprocessing pass, mostly raised by @ajreynol: 1. make sure to rewrite the processed node before and after processing it 2. use the new `mkAnd` function 3. remove `--no-check-unsat-cores` from tests whenever possible 4. add new tests from #5230 . These tests now pass, and so this PR closes #5230 if merged. This also makes #5253 redundant. 5. remove an unused test
Diffstat (limited to 'test/regress/regress3')
-rw-r--r--test/regress/regress3/bv_to_int_signed_sub_or.smt212
1 files changed, 0 insertions, 12 deletions
diff --git a/test/regress/regress3/bv_to_int_signed_sub_or.smt2 b/test/regress/regress3/bv_to_int_signed_sub_or.smt2
deleted file mode 100644
index 50cce4511..000000000
--- a/test/regress/regress3/bv_to_int_signed_sub_or.smt2
+++ /dev/null
@@ -1,12 +0,0 @@
-; COMMAND-LINE: --solve-bv-as-int=bv --no-check-unsat-cores
-; COMMAND-LINE: --bvand-integer-granularity=1 --solve-bv-as-int=sum --no-check-unsat-cores
-; COMMAND-LINE: --bvand-integer-granularity=1 --solve-bv-as-int=iand --iand-mode=value --no-check-unsat-cores
-; COMMAND-LINE: --bvand-integer-granularity=2 --solve-bv-as-int=sum --no-check-unsat-cores
-; EXPECT: unsat
-(set-logic QF_BV)
-(declare-fun s () (_ BitVec 4))
-(declare-fun t () (_ BitVec 4))
-(assert (bvsgt s t))
-(assert (bvsge t (bvsub t (bvor (bvor s t) (bvneg s)))))
-(check-sat)
-(exit)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback