Skip to content

Add AccessedStorageAnalysis. #16003

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

Merged
merged 1 commit into from
May 2, 2018
Merged

Add AccessedStorageAnalysis. #16003

merged 1 commit into from
May 2, 2018

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Apr 18, 2018

An interprocedural analysis pass that summarizes the dynamically
enforced formal accesses within a function. These summaries will be
used by a new AccessEnforcementOpts pass to locally fold access scopes
and remove dynamic checks based on whole module analysis.

An interprocedural analysis pass that summarizes the dynamically
enforced formal accesses within a function. These summaries will be
used by a new AccessEnforcementOpts pass to locally fold access scopes
and remove dynamic checks based on whole module analysis.
@atrick atrick requested a review from eeckstein April 18, 2018 00:38
@atrick
Copy link
Contributor Author

atrick commented Apr 18, 2018

@swift-ci test.

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@atrick
Copy link
Contributor Author

atrick commented Apr 18, 2018

Not much point in merging this until we're sure that the corresponding optimizations are ready. Since posting this PR, a couple of unrelated correctness issues have come up that I need to resolve. I'll merge this once I get back to finishing the optimizations related to this analysis.

@atrick
Copy link
Contributor Author

atrick commented May 2, 2018

@swift-ci smoke test and merge.

@swift-ci swift-ci merged commit 9d3b6be into swiftlang:master May 2, 2018
@atrick atrick deleted the access-analysis branch May 9, 2018 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants