Page MenuHomePhabricator

[coro.async] Make sure we process async coroutines
ClosedPublic

Authored by aschwaighofer on Jan 21 2021, 8:57 AM.

Details

Summary

Because we were not looking for the llvm.coro.id.async intrinsic in the
early coro pass which triggers follow-up passes we relied on the
llvm.coro.end intrinsic being present. This might not be the case in
functions that end in unreachable code.

Diff Detail

Event Timeline

aschwaighofer created this revision.Jan 21 2021, 8:57 AM
aschwaighofer requested review of this revision.Jan 21 2021, 8:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 21 2021, 8:57 AM
This revision is now accepted and ready to land.Jan 21 2021, 11:49 AM
This revision was automatically updated to reflect the committed changes.