Commit b987c283 authored by Arnold Schwaighofer's avatar Arnold Schwaighofer
Browse files

[coro] Correct CurrentBlock tracking bug recently introduced

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.

Differential Revision: https://reviews.llvm.org/D107573
parent 27b238af
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment