Skip to content

Commit

Permalink
Fix smt export for unary operations on bitvectors (for example binary…
Browse files Browse the repository at this point in the history
… negation)
  • Loading branch information
andreaslindner committed Nov 5, 2024
1 parent e45808c commit dd01d30
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/shared/smt/bir_smtlibLib.sml
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,6 @@ BExp_Cast BIExp_LowCast
val (str, sty) = if not (is_BIExp_Not uop) then (str, sty) else
case sty of
SMTTY_BV 1 => ("(= " ^ str ^ " (_ bv1 1))", SMTTY_Bool)
| SMTTY_BV _ => problem exp "unsupported argument type: " ()
| _ => (str, sty);

val uopval = uop_to_smtlib uop (str, sty);
Expand Down

0 comments on commit dd01d30

Please sign in to comment.