[PATCH] D152840: [ELF] A new code layout algorithm for function reordering [3a/3]

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 22 10:08:05 PDT 2023


MaskRay added a comment.

Instead of having a `--use-*`, the best is probably to create a `JJ<"call-graph-profile-sort=", ...>` (values: hfsort,cdsort),
make the existing `--call-graph-profile-sort` an alias (`FF<"call-graph-profile-sort", ...>, AliasArgs<...>`), 
then add a BB for `--no-call-graph-profile-sort`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152840/new/

https://reviews.llvm.org/D152840



More information about the llvm-commits mailing list