Skip to content

Update Devirtualizer's analysis invalidation #31284

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 2 commits into from
Apr 28, 2020

Conversation

meg-gupta
Copy link
Contributor

castValueToABICompatibleType can change CFG, Devirtualizer uses this api but doesn't check if it modified the cfg. With this, Devirtualizer checks is cfg changed, and invalidates accordingly.

castValueToABICompatibleType can change CFG, Devirtualizer uses this api but doesn't check if it modified the cfg
@meg-gupta
Copy link
Contributor Author

castValueToABICompatibleType has a complex api now, but matches rest of the Devirtualizer

@meg-gupta meg-gupta requested a review from atrick April 24, 2020 20:33
Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

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

LGTM. One little naming issue.

@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test

meg-gupta added a commit to meg-gupta/swift that referenced this pull request Apr 27, 2020
This is cherry-pick of swiftlang#31284
castValueToABICompatibleType can change CFG, Devirtualizer uses this api but doesn't check if it modified the cfg
@meg-gupta meg-gupta merged commit 013387e into swiftlang:master Apr 28, 2020
meg-gupta added a commit that referenced this pull request Apr 29, 2020
This is cherry-pick of #31284
castValueToABICompatibleType can change CFG, Devirtualizer uses this api but doesn't check if it modified the cfg
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.

2 participants