[PATCH] D152834: A new code layout algorithm for function reordering [2/3]
Sergey Pupyrev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 16:27:46 PDT 2023
spupyrev added a comment.
@rahmanl @davidxl Our measurements are always on top of C^3 (the one currently utilized by CallGraphSort.cpp). If we compare against "no-function-ordering" (ie looking at the order produced by the compiler), then the wins would be well beyond 1% cpu but that's not a realistic scenario these days. The linked follow-up diffs, D152840 <https://reviews.llvm.org/D152840> and D153039 <https://reviews.llvm.org/D153039>, enable the ordering in the linker and in the BOLT. I'll share more specific numbers on my benchmarks soon.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152834/new/
https://reviews.llvm.org/D152834
More information about the llvm-commits
mailing list