-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[NFC] OSSA jump-threading support #61648
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
Conversation
@swift-ci test |
The OSSA verifier was never enabled for block terminators. So we could blindly give terminator results any ownership without knowing.
Begin adding support for OSSA to checked-cast jump-threading based on the new ownership utilities. TODO: Finish migrating to the new utilities in OwnershipOptUtils. Ensure full unit test coverage.
@swift-ci test |
@swift-ci test |
@swift-ci test |
@meg-gupta the checked-cast jump-threading tests are updated for guaranteed phis and all enabled. I'm ready to merge it. There is a FIXME to better organize the tests: And one extra copy that we shouldn't need when RAUW is fixed: |
@swift-ci test macOS platform |
1 similar comment
@swift-ci test macOS platform |
These are a few commits from 1 year ago. I didn't check them in at the time because the underlying OSSA support was not robust enough to handle all cases that could be exposed, and there was no good way to unit test those utilities.
I'm merging them now under a flag so we can begin simultaneously testing OSSA simplify-cfg and adding unit tests for OSSA.