[all-commits] [llvm/llvm-project] b1ac05: [Coro] [async] Disable inlining in async coroutine...

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Wed Feb 7 13:44:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1ac052ab07ea091c90c2b7c89445b2bfcfa42ab
      https://github.com/llvm/llvm-project/commit/b1ac052ab07ea091c90c2b7c89445b2bfcfa42ab
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/test/Transforms/Coroutines/coro-async-addr-lifetime-infinite-loop-bug.ll
    M llvm/test/Transforms/Coroutines/coro-async-addr-lifetime-start-bug.ll
    M llvm/test/Transforms/Coroutines/coro-async-dyn-align.ll
    A llvm/test/Transforms/Coroutines/coro-async-mutal-recursive.ll
    M llvm/test/Transforms/Coroutines/coro-async-unreachable.ll
    M llvm/test/Transforms/Coroutines/coro-async.ll
    M llvm/test/Transforms/Coroutines/swift-async-dbg.ll

  Log Message:
  -----------
  [Coro] [async] Disable inlining in async coroutine splitting (#80904)

The call to the inlining utility does not update the call graph. Leading
to assertion failures when calling the call graph utility to update the
call graph.

Instead rely on an inline pass to run after coro splitting and use
alwaysinline annotations.

github.com/apple/swift/issues/68708




More information about the All-commits mailing list