[all-commits] [llvm/llvm-project] 01b489: Add @llvm.coro.async.size.replace intrinsic.

nate-chandler via All-commits all-commits at lists.llvm.org
Tue Feb 23 06:45:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01b4890e47f0988695e68ea4e1fd6961b645ee73
      https://github.com/llvm/llvm-project/commit/01b4890e47f0988695e68ea4e1fd6961b645ee73
  Author: Nate Chandler <nate_chandler at apple.com>
  Date:   2021-02-23 (Tue, 23 Feb 2021)

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

  Log Message:
  -----------
  Add @llvm.coro.async.size.replace intrinsic.

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.

Reviewed By: aschwaighofer

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




More information about the All-commits mailing list