Skip to content

Commit

Permalink
allow geq and leq ops in memop cmps
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonch committed Jul 28, 2024
1 parent ac533c4 commit 94ee957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/frontend/Memops.ml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ let check_e memvars localvars allowed_op exp =
;;

let allowed_bool_op = function
| Eq | Neq | Less | More | And | Or | Not -> true
| Eq | Neq | Less | More | And | Or | Not | Geq | Leq -> true
| _ -> false
;;

Expand Down

0 comments on commit 94ee957

Please sign in to comment.