[PATCH] D97229: Add @llvm.coro.async.size.replace intrinsic.

Nate Chandler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 14:40:04 PST 2021


nate_chandler created this revision.
nate_chandler added a reviewer: aschwaighofer.
Herald added subscribers: lxfind, hiraditya.
nate_chandler requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

The new intrinsic replaces the size in one specified AsyncFunctionPointer with
the size in another.  This ability is necessary for functions which merely
forward to async functions such as those defined for partial applications.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97229

Files:
  llvm/include/llvm/IR/Intrinsics.td
  llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
  llvm/lib/Transforms/Coroutines/CoroInstr.h
  llvm/lib/Transforms/Coroutines/Coroutines.cpp
  llvm/test/Transforms/Coroutines/coro-async.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97229.325574.patch
Type: text/x-patch
Size: 5773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210222/fb9313a8/attachment.bin>


More information about the llvm-commits mailing list