You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
0 commit comments