Skip to content

LoadableByAddress: fix handling of yield instructions which can result in invalid SIL #38924

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
Aug 19, 2021

Conversation

eeckstein
Copy link
Contributor

The code to handle yield instructions must be done earlier in rewriteFunction because it can add more instructions to the data structures, which also needs to be processed in rewriteFunction.

https://bugs.swift.org/browse/SR-14994
rdar://77526343

…t in invalid SIL

The code to handle yield instructions must be done earlier in `rewriteFunction` because it can add more instructions to the data structures, which also needs to be processed in  `rewriteFunction`.

https://bugs.swift.org/browse/SR-14994
rdar://77526343
@eeckstein eeckstein requested a review from rjmccall August 18, 2021 08:24
@eeckstein
Copy link
Contributor Author

@swift-ci test

@eeckstein
Copy link
Contributor Author

@swift-ci test windows

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