This is an archive of the discontinued LLVM Phabricator instance.

[coro] Correct CurrentBlock tracking bug recently introduced
ClosedPublic

Authored by aschwaighofer on Aug 5 2021, 8:03 AM.

Details

Summary

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.

Diff Detail

Event Timeline

aschwaighofer created this revision.Aug 5 2021, 8:03 AM
aschwaighofer requested review of this revision.Aug 5 2021, 8:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 5 2021, 8:03 AM

Fix clang-tidy warning - qualify auto pointer var

This revision is now accepted and ready to land.Aug 9 2021, 8:36 AM