[PATCH] D85628: [HotColdSplitting] Add command line options for supplying cold function names via user input.
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 13:16:56 PDT 2020
vsk added a comment.
I’m not convinced this is a good idea. In what use case is it not possible to mark up relevant functions? It doesn’t make sense to me to make alternations to standard library functions within the compiler. It seems better to simply patch the standard library. In some cases llvm does infer function attributes for library functions, but these are generally lower level attributes that can’t be specified at the source level, and the attribute is made available to other passes in the pipeline.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85628/new/
https://reviews.llvm.org/D85628
More information about the llvm-commits
mailing list