HomePhabricator

Remove unreachable blocks before splitting a coroutine.

Authored by rjmccall on Aug 13 2019, 8:54 PM.

Description

Remove unreachable blocks before splitting a coroutine.

The suspend-crossing algorithm is not correct in the presence of uses
that cannot be reached on some successor path from their defs.

llvm-svn: 368796

Details

Committed
rjmccallAug 13 2019, 8:54 PM
Parents
rG2133feec933e: Support swifterror in coroutine lowering.
Branches
Unknown
Tags
Unknown