[PATCH] D119880: [FuncSpec] Support function specialization across multiple arguments.

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 07:52:41 PDT 2022


SjoerdMeijer added a comment.

In D119880#3375169 <https://reviews.llvm.org/D119880#3375169>, @labrinea wrote:

> I've tried another formula to determine the amount of speciazations we are keeping (instead of `Sorted.size()/2`). It is defined as `auto NumSpecKept = (size_t)std::log10(std::pow(Sorted.size(), 4))+1;`.

Not sure if I miss anything, but I don't see this in the code. Also, why this formula, what is the rationale?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119880



More information about the llvm-commits mailing list