[IPSCCP] Enable specialization of functions.
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Wed, 11 Jan 2023 11:50:32 +0000 (11:50 +0000)
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Fri, 13 Jan 2023 14:04:17 +0000 (14:04 +0000)
commit572a757fa78722fddeb9b651120607f8eee5d13f
tree7ab2838a2478e370d47c7d62f9270da8209dbea7
parent4c20cc8ca9b6c121d83448d61b826fa252433f28
[IPSCCP] Enable specialization of functions.

Re-enable the optimization after having fixed the compilation error
found in SPEC/CINT2017rate/502.gcc_r when both LTO and PGO are in use
(see https://reviews.llvm.org/D141474).

Differential Revision: https://reviews.llvm.org/D140210
llvm/docs/ReleaseNotes.rst
llvm/include/llvm/Transforms/IPO/SCCP.h
llvm/lib/Passes/PassBuilderPipelines.cpp
llvm/test/Other/new-pm-defaults.ll
llvm/test/Other/new-pm-lto-defaults.ll
llvm/test/Other/new-pm-thinlto-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
llvm/test/Transforms/FunctionSpecialization/compiler-crash-58759.ll