[PATCH] D97333: [coro async] Allow a coro.suspend.async to specify which argument is the context argument

Arnold Schwaighofer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 13:34:55 PST 2021


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

Before we used the same argument as the entry point. The resume partial
function might want to use a different ABI for its context argument


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97333

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97333.325890.patch
Type: text/x-patch
Size: 11598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210223/0ac41fbd/attachment.bin>


More information about the llvm-commits mailing list