Skip to content

[coro] Correct CurrentBlock tracking bug recently introduced #3140

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

aschwaighofer
Copy link

We use the CurrentBlock to determine whether we have already processed a
block. Don't reuse this variable for setting where we should insert the
rematerialization. The rematerialization block is different to the
current block when we rematerialize for coro suspend block users.

We use the CurrentBlock to determine whether we have already processed a
block. Don't reuse this variable for setting where we should insert the
rematerialization. The rematerialization block is different to the
current block when we rematerialize for coro suspend block users.
@aschwaighofer aschwaighofer force-pushed the fix_coro_rematerialization branch from 4eedbdd to 7b2661c Compare August 4, 2021 22:49
@aschwaighofer
Copy link
Author

@swift-ci test

@aschwaighofer
Copy link
Author

Upstream version: https://reviews.llvm.org/D107573

@aschwaighofer aschwaighofer merged commit 1c05ba5 into swiftlang:stable/20210726 Aug 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.

1 participant