Skip to content

Handle store_borrow in SILMem2Reg and some other fixes #59541

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 8 commits into from
Aug 26, 2022

Conversation

meg-gupta
Copy link
Contributor

No description provided.

@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta force-pushed the mem2regstoreborrowpr branch 5 times, most recently from 9d156da to 158b0bd Compare June 24, 2022 21:14
@meg-gupta
Copy link
Contributor Author

@swift-ci benchmark

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.

Thanks for working on this. Let's see if there's a way to keep the original "borrow" semantics without copies. We need to store move-only values in store-borrow locations.
@nate-chandler can we also get your eyes on this and together come up with something that integrates well with the new support for lexical scopes?

@meg-gupta meg-gupta force-pushed the mem2regstoreborrowpr branch from 158b0bd to 0a7c7f3 Compare August 22, 2022 23:30
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta
Copy link
Contributor Author

@swift-ci benchmark

@meg-gupta
Copy link
Contributor Author

@swift-ci test source compatibility

@meg-gupta meg-gupta force-pushed the mem2regstoreborrowpr branch from 0a7c7f3 to 2e4f48f Compare August 23, 2022 17:19
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta
Copy link
Contributor Author

@atrick @nate-chandler Mem2Reg for store_borrows is straight forward now that I have fixed the store_borrow representation in SIL.

@meg-gupta meg-gupta force-pushed the mem2regstoreborrowpr branch 2 times, most recently from 5786abb to 8c9c61a Compare August 25, 2022 19:06
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta force-pushed the mem2regstoreborrowpr branch from 8c9c61a to ed7788f Compare August 25, 2022 20:59
Copy link
Contributor

@nate-chandler nate-chandler left a comment

Choose a reason for hiding this comment

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

lgtm

@meg-gupta
Copy link
Contributor Author

@swift-ci test and merge

@meg-gupta
Copy link
Contributor Author

@swift-ci test macOS Platform

@meg-gupta meg-gupta merged commit 9a4a21d into swiftlang:main Aug 26, 2022
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.

3 participants