[all-commits] [llvm/llvm-project] 627cfd: [coro async] Don't promote allocas to the frame or...

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Tue Feb 16 09:06:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 627cfd4394b0c4677c8a33338d92bd92101b8ee1
      https://github.com/llvm/llvm-project/commit/627cfd4394b0c4677c8a33338d92bd92101b8ee1
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

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

  Log Message:
  -----------
  [coro async] Don't promote allocas to the frame or rewrite  swifterror if there are no suspend points

Also don't call function to update the call graph if there are no
clones. The function will fail.

rdar://74277860

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




More information about the All-commits mailing list