Skip to content

Commit

Permalink
Disable hoist entirely, it is bad on QF_LIA and does not help on othe…
Browse files Browse the repository at this point in the history
…r observed cases
  • Loading branch information
NikolajBjorner committed Dec 2, 2023
1 parent 585d027 commit ba8d8f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ast/rewriter/bool_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ br_status bool_rewriter::mk_nflat_or_core(unsigned num_args, expr * const * args
return BR_DONE;
}

#if 1
#if 0
br_status st;
expr_ref r(m());
st = m_hoist.mk_or(buffer.size(), buffer.data(), r);
Expand All @@ -282,7 +282,7 @@ br_status bool_rewriter::mk_nflat_or_core(unsigned num_args, expr * const * args
get_num_internal_exprs(m_counts2, m_todo2, args[i]);
unsigned count1 = count_internal_nodes(m_counts1, m_todo1);
unsigned count2 = count_internal_nodes(m_counts2, m_todo2);
if (count1 > count2 + num_args)
if (count1 > count2)
st = BR_FAILED;
}
if (st != BR_FAILED)
Expand Down

0 comments on commit ba8d8f0

Please sign in to comment.