[all-commits] [llvm/llvm-project] 846a53: Fix coro lowering of single predecessor phis

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Tue Jul 6 10:23:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 846a530e7db28bdd50c9a9fb08cddc210134b579
      https://github.com/llvm/llvm-project/commit/846a530e7db28bdd50c9a9fb08cddc210134b579
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

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

  Log Message:
  -----------
  Fix coro lowering of single predecessor phis

Code assumes that uses of single predecessor phis are not live accross
suspend points. Cleanup any single predecessor phis preceeding the code
making this assumption.

rdar://76020301

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




More information about the All-commits mailing list