-
Notifications
You must be signed in to change notification settings - Fork 18
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
Rework the removal of dynamic checks #129
Conversation
6c6b114
to
fc096a0
Compare
This comment was marked as resolved.
This comment was marked as resolved.
8cc86a7
to
2335415
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a lot cleaner, thanks!
Can you:
- open an issue for the constants case?
- locally check that the code generated by Aeneas is unchanged?
After this, you're free to merge.
I opened #142 and checked aeneas locally. |
This may be breaking Eurydice (as #138 breaks Eurydice and is based on this). I haven't had time to investigate |
You can merge when you want. |
aa48c03
to
346237a
Compare
This also breaks |
91b195a
to
21e74b1
Compare
21e74b1
to
e952cff
Compare
1848f74
to
2a73f37
Compare
2a73f37
to
9f950c1
Compare
Alright, this is blocked until I can figure out how to implement the new |
This is important because they have different types and runtime semantics.
9f950c1
to
036d0d3
Compare
To avoid interference with other passes, we do this one earlier on ullbc. We no longer remove overflow checks in const blocks because they're tricky to remove and will be evaluated anyway. I also had to distinguish checked from unchecked binary operations.
Fixes #125