[all-commits] [llvm/llvm-project] 2df2b2: [cora async] Cleanup undefined llvm.coro.async.resume

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Thu Sep 30 13:27:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2df2b27d94f92680e810e6763ed032fd2dfcfe11
      https://github.com/llvm/llvm-project/commit/2df2b27d94f92680e810e6763ed032fd2dfcfe11
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2021-09-30 (Thu, 30 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
    M llvm/lib/Transforms/Coroutines/Coroutines.cpp
    M llvm/test/Transforms/Coroutines/coro-async.ll

  Log Message:
  -----------
  [cora async] Cleanup undefined llvm.coro.async.resume

In situations where the coroutine function is not split we can just
replace the async.resume by null.

rdar://82591919

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




More information about the All-commits mailing list