File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 29
29
#include < util/string_constant.h>
30
30
31
31
#include < solvers/flattening/boolbv_width.h>
32
- #include < solvers/flattening/flatten_byte_operators.h>
33
32
#include < solvers/flattening/c_bit_field_replacement_type.h>
33
+ #include < solvers/flattening/flatten_byte_operators.h>
34
34
#include < solvers/floatbv/float_bv.h>
35
+ #include < solvers/lowering/expr_lowering.h>
35
36
36
37
// Mark different kinds of error condition
37
38
// General
@@ -1866,6 +1867,11 @@ void smt2_convt::convert_expr(const exprt &expr)
1866
1867
1867
1868
out << ' )' ; // let bswap_op
1868
1869
}
1870
+ else if (expr.id () == ID_popcount)
1871
+ {
1872
+ exprt lowered = lower_popcount (to_popcount_expr (expr), ns);
1873
+ convert_expr (lowered);
1874
+ }
1869
1875
else
1870
1876
UNEXPECTEDCASE (
1871
1877
" smt2_convt::convert_expr: `" +expr.id_string ()+" ' is unsupported" );
You can’t perform that action at this time.
0 commit comments