Skip to content

[4.2 4/30][Sema] SpaceEngine: Improve handling of empty/non-reduced spaces in c… #16316

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

xedin
Copy link
Contributor

@xedin xedin commented May 2, 2018

…onstrutors/disjuncts

Eagerly remove empty (sub-)spaces from constructors and disjuncts
to minimize number of operations required to check space coverage.
Also return original constructor space while subtracting a pair of
constructors, instead of disjunct, if subtraction of one of its
sub-spaces produced the same space, this reduces the number of
disjuncts in the path.

Resolves: rdar://problem/39710335
(cherry picked from commit 3ea6635)

…onstrutors/disjuncts

Eagerly remove empty (sub-)spaces from constructors and disjuncts
to minimize number of operations required to check space coverage.
Also return original constructor space while subtracting a pair of
constructors, instead of disjunct, if subtraction of one of its
sub-spaces produced the same space, this reduces the number of
disjuncts in the path.

Resolves: rdar://problem/39710335
(cherry picked from commit 3ea6635)
@xedin
Copy link
Contributor Author

xedin commented May 2, 2018

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented May 2, 2018

@swift-ci please test source compatibility

@xedin
Copy link
Contributor Author

xedin commented May 3, 2018

@AnnaZaks It looks like there are couple of issues in the source compatibility suite for this branch (swift-4.2-branch-04-30-2018) which are unrelated to these changes e.g. broken dependency in Kitura.

@AnnaZaks AnnaZaks merged commit 194c670 into swiftlang:swift-4.2-branch-04-30-2018 May 3, 2018
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