[all-commits] [llvm/llvm-project] 86bfeb: Revert "Inlining: Run the legacy AlwaysInliner bef...
David Green via All-commits
all-commits at lists.llvm.org
Fri Feb 10 07:02:03 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 86bfeb906e3a95ae428f3e97d78d3d22a7c839f3
https://github.com/llvm/llvm-project/commit/86bfeb906e3a95ae428f3e97d78d3d22a7c839f3
Author: David Green <david.green at arm.com>
Date: 2023-02-10 (Fri, 10 Feb 2023)
Changed paths:
M clang/test/CodeGen/code-coverage.c
M clang/test/Frontend/optimization-remark-with-hotness-new-pm.c
M clang/test/Headers/__clang_hip_math.hip
M clang/test/OpenMP/bug57757.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/test/Other/new-pm-defaults.ll
M llvm/test/Other/new-pm-print-pipeline.ll
M llvm/test/Other/new-pm-thinlto-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/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
R llvm/test/Transforms/Inline/always-inline-phase-ordering.ll
M llvm/test/Transforms/PhaseOrdering/ARM/arm_mult_q15.ll
Log Message:
-----------
Revert "Inlining: Run the legacy AlwaysInliner before the regular inliner."
This seems to cause large regressions in existing code, as much as 75% slower
(4x the time taken). Small always inline functions seem to be used a lot in the
cmsis-dsp library.
I would add a phase ordering test to show the problems, but one already exists!
The llvm/test/Transforms/PhaseOrdering/ARM/arm_mult_q15.ll was just changed by
removing alwaysinline to hide the problems that existed.
This reverts commit cae033dcf227aeecf58fca5af6fc7fde1fd2fb4f.
This reverts commit 8e33c41e72ad42e4c27f8cbc3ad2e02b169637a1.
More information about the All-commits
mailing list