[all-commits] [llvm/llvm-project] 1a2eae: [CoroSplit][NewPM] Don't call LazyCallGraph functi...

aeubanks via All-commits all-commits at lists.llvm.org
Thu Jan 7 14:07:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a2eaebc09c6a200f93b8beb37130c8b8aab3934
      https://github.com/llvm/llvm-project/commit/1a2eaebc09c6a200f93b8beb37130c8b8aab3934
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

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

  Log Message:
  -----------
  [CoroSplit][NewPM] Don't call LazyCallGraph functions to split when no clones

Apparently there can be no clones, as happens in
coro-retcon-unreachable.ll.

The alternative is to allow no split functions in
addSplitRefRecursiveFunctions(), but it seems better to have the caller
make sure it's not accidentally splitting no functions out.

Reviewed By: rnk

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




More information about the All-commits mailing list