diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-05-06 14:22:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 12:22:46 -0700 |
commit | 2f4af86757f34a31f2983f30b3321e7c0511aa32 (patch) | |
tree | 529154c8abbe912da9af0ce0e09142eff53afb42 /.github | |
parent | 2283ee3b0327441c29caf26be977c1e4cd13c637 (diff) |
Use constant folding for evaluating BV eager atom (#6494)
This is work towards unifying top-level substitutions with model substitutions.
Currently, for model evaluation, BV eager atom preprocessing pass adds mappings (BV_EAGER_ATOM X) -> X to say how (BV_EAGER_ATOM X) should be evaluated in the model. This is not necessary since a rewrite rule (BV_EAGER_ATOM c) -> c for constant c would suffice.
This eliminates the call to addModelSubstitution in that preprocessing pass.
It also makes it so that we don't make true/false themselves into eager atoms.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions