Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rewrite for array selects of chain of stores of a same value #6526

Merged
merged 3 commits into from
Jan 9, 2023
Merged

Add rewrite for array selects of chain of stores of a same value #6526

merged 3 commits into from
Jan 9, 2023

Commits on Jan 8, 2023

  1. Add rewrite for array selects of chain of stores of a same value

    Example:
    ```smt
    (declare-fun mem () (Array (_ BitVec 4) (_ BitVec 4)))
    (declare-const x (_ BitVec 4))
    (declare-const y (_ BitVec 4))
    ; simplifies to #x1
    (simplify (select (store (store (store mem #x1 #x1) y #x1) x #x1) #x1))
    ```
    nunoplopes committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    521865d View commit details
    Browse the repository at this point in the history
  2. Update array_rewriter.cpp

    nunoplopes committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    8952afe View commit details
    Browse the repository at this point in the history
  3. Update array_rewriter.cpp

    nunoplopes committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    0909efa View commit details
    Browse the repository at this point in the history