[Coroutines] Maintain the position of final suspend
Closing https://github.com/llvm/llvm-project/issues/56329 The problem happens when we try to simplify the suspend points. We might break the assumption that the final suspend lives in the last slot of Shape.CoroSuspends. This patch tries to main the assumption and fixes the problem.
parent
8d19cfb7
Please register or sign in to comment