HomePhabricator

Add a llvm.coro.end.async intrinsic

Authored by aschwaighofer on Dec 15 2020, 1:28 PM.

Description

Add a llvm.coro.end.async intrinsic

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.

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

Details

Committed
aschwaighoferDec 22 2020, 10:52 AM
Differential Revision
D93568: Add a llvm.coro.end.async intrinsic
Parents
rGae8f4b2178c4: [AMDGPU] Folding of FI operand with flat scratch
Branches
Unknown
Tags
Unknown