[all-commits] [llvm/llvm-project] 1b1232: [FuncSpec] Replace LoopInfo with BlockFrequencyInfo.
Alexandros Lamprineas via All-commits
all-commits at lists.llvm.org
Mon May 22 09:50:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b1232047e83b69561fd64b9547cb0a0d374473a
https://github.com/llvm/llvm-project/commit/1b1232047e83b69561fd64b9547cb0a0d374473a
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
M llvm/include/llvm/Transforms/Utils/SCCPSolver.h
M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
M llvm/lib/Transforms/IPO/SCCP.cpp
M llvm/lib/Transforms/Utils/SCCPSolver.cpp
M llvm/test/Other/new-pm-defaults.ll
M llvm/test/Other/new-pm-lto-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
M llvm/test/Transforms/FunctionSpecialization/function-specialization-always-inline.ll
M llvm/test/Transforms/FunctionSpecialization/function-specialization-constant-integers.ll
R llvm/test/Transforms/FunctionSpecialization/function-specialization-loop.ll
M llvm/test/Transforms/FunctionSpecialization/function-specialization2.ll
M llvm/test/Transforms/FunctionSpecialization/function-specialization3.ll
Log Message:
-----------
[FuncSpec] Replace LoopInfo with BlockFrequencyInfo.
Using AvgLoopIters on any loop is too imprecise making the cost model
favor users inside loop nests regardless of the actual tripcount.
Differential Revision: https://reviews.llvm.org/D150375
More information about the All-commits
mailing list