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

effects: minor fixes for the effects system correctness #55536

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

aviatesk
Copy link
Sponsor Member

This commit implements several fixes related to the correctness of the effect system. The most significant change addresses an issue where post-opt analysis was not correctly propagating the taints of :noub and :nortcall of :foreigncall expressions, which could lead to incorrect effect bits. Additionally, adjustments have been made to the values of effects used in various worst-case scenarios.

@aviatesk aviatesk force-pushed the avi/foreigncall-noub-nortcall branch 2 times, most recently from 86769cd to 1e15ce5 Compare August 20, 2024 15:45
@giordano giordano added the compiler:effects effect analysis label Aug 20, 2024
This commit implements several fixes related to the correctness of the
effect system. The most significant change addresses an issue where
post-opt analysis was not correctly propagating the taints of `:noub`
and `:nortcall` of `:foreigncall` expressions, which could lead to
incorrect effect bits. Additionally, adjustments have been made to
the values of effects used in various worst-case scenarios.
@aviatesk aviatesk force-pushed the avi/foreigncall-noub-nortcall branch from 575ebf9 to d76b734 Compare August 21, 2024 05:09
@aviatesk aviatesk merged commit 54142b7 into master Aug 21, 2024
4 of 7 checks passed
@aviatesk aviatesk deleted the avi/foreigncall-noub-nortcall branch August 21, 2024 13:13
KristofferC pushed a commit that referenced this pull request Sep 12, 2024
This commit implements several fixes related to the correctness of the
effect system. The most significant change addresses an issue where
post-opt analysis was not correctly propagating the taints of `:noub`
and `:nortcall` of `:foreigncall` expressions, which could lead to
incorrect effect bits. Additionally, adjustments have been made to the
values of effects used in various worst-case scenarios.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:effects effect analysis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants