[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
Thu Sep 21 09:46:59 PDT 2023


MaskRay added a comment.

I have also explained that `SmallVector<*, 0>`  is preferred in lld/ELF code, so I have a `vector => ArrayRef` refactoring.
We should also get rid of `buildCallGraph`, which uses a number of output parameters, while the function can just be inlined into `apply*` (to be renamed).


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