[all-commits] [llvm/llvm-project] 87b628: [coro.async] Make sure we process async coroutines

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Fri Jan 22 07:13:19 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 87b628dadde02b295322c1530d058397c1c4dd14
      https://github.com/llvm/llvm-project/commit/87b628dadde02b295322c1530d058397c1c4dd14
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

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

  Log Message:
  -----------
  [coro.async] Make sure we process async coroutines

Because we were not looking for the llvm.coro.id.async intrinsic in the
early coro pass which triggers follow-up passes we relied on the
llvm.coro.end intrinsic being present. This might not be the case in
functions that end in unreachable code.

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




More information about the All-commits mailing list