Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
yoni206 committed Aug 19, 2024
1 parent 5a67009 commit 206445c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/theory/bv/theory_bv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ TrustNode TheoryBV::ppRewrite(TNode t, std::vector<SkolemLemma>& lems)
res = RewriteRule<ZeroExtendEqConst>::run<false>(t);
}
}
// When int-blasting, it is better to handle most overflow operators
// natively, rather than to eliminate them eagerly.
if (options().smt.solveBVAsInt == options::SolveBVAsIntMode::OFF)
{
res = d_rewriter.eliminateOverflows(res);
Expand Down
1 change: 0 additions & 1 deletion src/theory/bv/theory_bv_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "theory/bv/theory_bv_rewriter.h"

#include "options/bv_options.h"
#include "options/smt_options.h"
#include "theory/bv/theory_bv_rewrite_rules.h"
#include "theory/bv/theory_bv_rewrite_rules_constant_evaluation.h"
#include "theory/bv/theory_bv_rewrite_rules_core.h"
Expand Down

0 comments on commit 206445c

Please sign in to comment.