Skip to content
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

Serialize stdlibCore with ownership through the diagnostic passes #26608

Merged
merged 2 commits into from Aug 12, 2019

Conversation

gottesmm
Copy link
Member

Going to try to land this. There is still one test that I may fix (or may just tweak slightly since the error is sort of inconsequential).

That being said, I am curious about how this looks on linux and with the source compat suite.

@gottesmm
Copy link
Member Author

@swift-ci smoke test

@gottesmm
Copy link
Member Author

@swift-ci test source compatibility

@gottesmm
Copy link
Member Author

@swift-ci test linux platform

@gottesmm
Copy link
Member Author

The test I am expecting to fail is one of the addressor tests where we do not eliminate a struct_extract from a struct. The code is fine though and shouldn't cause issues.

@swift-ci
Copy link
Collaborator

Build failed
Swift Test Linux Platform
Git Sha - e39e39afadd0fe826f90dc4ae645014ec11b0a10

@gottesmm
Copy link
Member Author

For the record, those are debug/release source compat suite passes.

@gottesmm
Copy link
Member Author

I am going to fix the ASAN error and the small addressor change and then land this.

…t as well as when we are processing the worklist.

This simplifies the IR and eliminates in a certain sense "constant information"
from the IR by allowing us to remove extract, nominal literal round trips.

NOTE: I had to modify the pound_assert test slightly on the location of a note
that it emits. The reason that I did this is that the test output is technically
correct. The instruction we are interpreting when we error is (after this
commit), a debug_value in the prelude of the function (and thus has the new
location). I am going to talk with Ravi and others on what to do with this.
@gottesmm gottesmm marked this pull request as ready for review August 12, 2019 10:33
@gottesmm gottesmm requested a review from atrick August 12, 2019 10:33
@gottesmm
Copy link
Member Author

@swift-ci test

2 similar comments
@gottesmm
Copy link
Member Author

@swift-ci test

@gottesmm
Copy link
Member Author

@swift-ci test

@gottesmm
Copy link
Member Author

@swift-ci test source compatibility

1 similar comment
@gottesmm
Copy link
Member Author

@swift-ci test source compatibility

@swift-ci
Copy link
Collaborator

Build failed
Swift Test Linux Platform
Git Sha - e39e39afadd0fe826f90dc4ae645014ec11b0a10

@gottesmm gottesmm changed the title [draft] Serialize stdlibCore with ownership. Serialize stdlibCore with ownership through the diagnostic passes Aug 12, 2019
@gottesmm gottesmm merged commit 4ecab47 into apple:master Aug 12, 2019
@gottesmm gottesmm deleted the ownership-onone-stdlibcore branch August 12, 2019 14:01
pschuh added a commit that referenced this pull request Aug 20, 2019
…bcore"

This reverts commit 4ecab47, reversing
changes made to f743c68.
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.

None yet

2 participants