Skip to content

Fix begin_apply inlining when there are no yields #39662

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 9, 2021

Conversation

meg-gupta
Copy link
Contributor

In this PR, preFixUp function in SILCloner is added which can be
overidden by implementations so that the SIL is cleaned for commonFixup processing.
For begin_apply inlining, blocks split due to end_apply and abort_apply
are fixed when no yields are found.

In this PR, preFixUp function in SILCloner is added which can be
overidden by implementations so that the SIL is cleaned for `commonFixup` processing.
For begin_apply inlining, blocks split due to end_apply and abort_apply
are fixed when no yields are found.
@meg-gupta
Copy link
Contributor Author

@swift-ci test

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. This seems reasonable

@swift-ci
Copy link
Contributor

swift-ci commented Oct 9, 2021

Build failed
Swift Test OS X Platform
Git Sha - 2658cbe

@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit da3824a into swiftlang:main Oct 9, 2021
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