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

Improve effects for Base.fieldindex #50199

Merged
merged 1 commit into from
Jun 17, 2023
Merged

Improve effects for Base.fieldindex #50199

merged 1 commit into from
Jun 17, 2023

Conversation

Keno
Copy link
Member

@Keno Keno commented Jun 16, 2023

Split out the error path into a function with separate effects assumptions, so that constant propagation on err can conclude that the err=false case does not throw. Fixes #50198.

Split out the error path into a function with separate effects assumptions,
so that constant propagation on `err` can conclude that the `err=false` case
does not throw. Fixes #50198.
@oscardssmith oscardssmith added performance Must go faster compiler:effects effect analysis labels Jun 17, 2023
@Keno Keno merged commit fd1cec2 into master Jun 17, 2023
@Keno Keno deleted the kf/fieldindexnothrow branch June 17, 2023 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:effects effect analysis performance Must go faster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dead hasfield not fully eliminated
3 participants