[PATCH] D93838: [SCCP] Add Function Specialization pass

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 03:53:25 PDT 2021


JonChesterfield added a comment.

Getting the heuristics right will be difficult here.

There are a bunch of places in the openmp runtime where function pointers are passed to big functions. Manually tagging those arguments with an attribute in exchange for guaranteed specialisation when they're constant would be high value, even without any heuristics to automate the decision.


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

https://reviews.llvm.org/D93838



More information about the llvm-commits mailing list