Page MenuHomePhabricator

Add a llvm.coro.end.async intrinsic
ClosedPublic

Authored by aschwaighofer on Dec 18 2020, 3:47 PM.

Details

Summary

The llvm.coro.end.async intrinsic allows to specify a function that is
to be called as the last action before returning. This function will be
inlined after coroutine splitting.

This function can contain a 'musttail' call to allow for guaranteed tail
calling as the last action.

Diff Detail

Event Timeline

aschwaighofer created this revision.Dec 18 2020, 3:47 PM
aschwaighofer requested review of this revision.Dec 18 2020, 3:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 18 2020, 3:47 PM

Fix clang-tidy warnings.

rjmccall accepted this revision.Dec 22 2020, 10:45 AM
This revision is now accepted and ready to land.Dec 22 2020, 10:45 AM
This revision was automatically updated to reflect the committed changes.