[all-commits] [llvm/llvm-project] a42bea: [coro async] Allow a coro.suspend.async to specify...

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Wed Mar 3 08:28:57 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a42bea211a3c99edfc56ab27874924d8374a11c6
      https://github.com/llvm/llvm-project/commit/a42bea211a3c99edfc56ab27874924d8374a11c6
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2021-03-03 (Wed, 03 Mar 2021)

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

  Log Message:
  -----------
  [coro async] Allow a coro.suspend.async to specify which argument is the context argument

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

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




More information about the All-commits mailing list