HomePhabricator

[coro] Async coroutines: Make sure we can handle control flow in suspend point…

Authored by aschwaighofer on Nov 16 2020, 7:51 AM.

Description

[coro] Async coroutines: Make sure we can handle control flow in suspend point dispatch function

Create a valid basic block with a terminator before we call
InlineFunction.

Differential Revision: https://reviews.llvm.org/D91547