[all-commits] [llvm/llvm-project] 032251: [Coroutines] Fix PR45130

junparser via All-commits all-commits at lists.llvm.org
Thu Mar 19 20:27:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 032251e34d17c1cbf21e7571514bb775ed5cdf30
      https://github.com/llvm/llvm-project/commit/032251e34d17c1cbf21e7571514bb775ed5cdf30
  Author: Jun Ma <JunMa at linux.alibaba.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/test/Transforms/Coroutines/no-suspend.ll

  Log Message:
  -----------
  [Coroutines] Fix PR45130

For now, when final suspend can be simplified by simplifySuspendPoint,
handleFinalSuspend is executed as well to remove last case in switch
instruction. This patch fixes it.

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




More information about the All-commits mailing list