SuccessChanges

Summary

  1. [NewPM][Inliner] Move the 'always inliner' case in the same CGSCC pass as 'regular' inliner (details)
  2. [Inline] Fix a missing character in inline_stats.ll (details)
Commit e8049dc3c8a46ccd75ce2a4f438d695d20feb660 by mtrofin
[NewPM][Inliner] Move the 'always inliner' case in the same CGSCC pass as 'regular' inliner

Expanding from D94808 - we ensure the same InlineAdvisor is used by both
InlinerPass instances. The notion of mandatory inlining is moved into
the core InlineAdvisor: advisors anyway have to handle that case, so
this change also factors out that a bit better.

Differential Revision: https://reviews.llvm.org/D94825
The file was modifiedclang/test/Frontend/optimization-remark-new-pm.c
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedclang/test/Frontend/optimization-remark-with-hotness-new-pm.c
The file was modifiedllvm/include/llvm/Analysis/MLInlineAdvisor.h
The file was modifiedllvm/test/Other/new-pm-lto-defaults.ll
The file was modifiedllvm/lib/Analysis/InlineAdvisor.cpp
The file was modifiedllvm/lib/Analysis/ReplayInlineAdvisor.cpp
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/include/llvm/Analysis/InlineAdvisor.h
The file was modifiedclang/test/Frontend/optimization-remark.c
The file was modifiedllvm/lib/Analysis/MLInlineAdvisor.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Transforms/Inline/optimization-remarks-with-hotness.ll
The file was modifiedllvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedclang/test/Frontend/optimization-remark-line-directive.c
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/test/Transforms/Inline/pr46945.ll
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/test/Other/new-pm-pgo-preinline.ll
The file was modifiedllvm/include/llvm/Passes/PassBuilder.h
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was modifiedllvm/test/Transforms/Inline/optimization-remarks.ll
The file was removedllvm/test/Other/new-pm-module-inliner-wrapper.ll
The file was modifiedllvm/test/Transforms/Inline/inline_stats.ll
The file was modifiedllvm/include/llvm/Analysis/ReplayInlineAdvisor.h
The file was modifiedllvm/include/llvm/Transforms/IPO/Inliner.h
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
Commit 029c2257c21e15e00806b2083e8881fb2468900e by mtrofin
[Inline] Fix a missing character in inline_stats.ll
The file was modifiedllvm/test/Transforms/Inline/inline_stats.ll