[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:56:13 PDT 2023


MaskRay added a comment.

In D152840#4650105 <https://reviews.llvm.org/D152840#4650105>, @MaskRay wrote:

> 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", ...>, Alias<call_graph_profile_sort>, AliasArgs<"hfsort">`), 
> then add a BB for `--no-call-graph-profile-sort`.
>
> (I'll be out of town during 9-29 ~ 10-9)

See D159544 <https://reviews.llvm.org/D159544>


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