Skip to content

Commit

Permalink
Assume that cast truncates more pervasively
Browse files Browse the repository at this point in the history
This should fix the issue with `None` in the output bounds in mit-plv#833
  • Loading branch information
JasonGross committed Jul 8, 2020
1 parent bcc5086 commit 39a3901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BoundsPipeline.v
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ Module Pipeline.
out_bounds
: ErrorT (Expr t)
:= (*let E := expr.Uncurry E in*)
let assume_cast_truncates := false in
let assume_cast_truncates := true in
let opts := opts_of_method in
dlet E := PreBoundsPipeline (* with_dead_code_elimination *) with_subst01 with_let_bind_return translate_to_fancy E arg_bounds in
(** We first do bounds analysis with no relaxation so that we
Expand Down

0 comments on commit 39a3901

Please sign in to comment.