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
sirasistant
changed the title
Bit sizes in binary operations should match the bit sizes of the operands
Bit sizes in brillig binary operations should match the bit sizes of the operands
Feb 14, 2024
# Description
## Problem\*
Work towards #4369
## Summary\*
Uses consistent bit sizes for truncate and starts a refactor where we
start to track bit sizes for values in brillig IR
## 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.
# Description
## Problem\*
Adds checks for brillig codegen for #4369 (Previously we only had
consistency checks in SSA).
## Summary\*
This checks have caught some inconsistencies in the process, including
those that were caught manually in
AztecProtocol/aztec-packages#5091
## 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.
No description provided.
The text was updated successfully, but these errors were encountered: