Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: perform constraints on uncasted values if they are the same type (
#4303) # Description ## Problem\* Followup to #4302. ## Summary\* This PR unwraps `constrain cast(v0, typ) == cast(v1, typ)` into `constrain v0 == v1`. This will potentially improve #4060 effectiveness as we're moving this constraint information up the DFG. ## Additional Context ## Documentation\* Check one: - [x] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings. --------- Co-authored-by: jfecher <jake@aztecprotocol.com>
- Loading branch information