Skip to content

Merge pull request #12484 from shajrawi/relax_verify #12526

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
Oct 20, 2017

Conversation

shajrawi
Copy link

@shajrawi shajrawi commented Oct 20, 2017

radar rdar://problem/35010515

• Explanation: Found another open_existential_addr immutable_access pattern that got exposed by the new sil-combiner changes
• Scope of Issue: sil-combiner sometimes keeps open_existential_addr immutable_access instructions, we have a new pattern created by an interaction of a few different optimizations: we have an unchecked address cast (devirtualization) + immutable use of that address. Support said pattern in the SIL Verifier.
• Origination: Running an optimized version of the standard tests
• Risk: Low - one line change to Verifier - adds StructElementAddrInst as one of the conditions we bail on.
• Reviewed By: Roman Levenstein

Relax the open_existential_addr immutable_access verifier further after sil-combine bail-out
@shajrawi
Copy link
Author

@swift-ci Please test

@shajrawi shajrawi merged commit 8478c10 into swift-4.0-branch Oct 20, 2017
@shajrawi shajrawi deleted the verifier_fix branch October 20, 2017 20:10
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.

1 participant