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

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 09:45:49 PDT 2022


labrinea updated this revision to Diff 415477.
labrinea edited the summary of this revision.
labrinea added a comment.

I decided to keep this patch as close as possible to the original implementation, leaving the improvements to the cost model for later patches. That said, `MinGainThreshold` is withdrawn, so as the sorting of specializations across multiple functions.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119880

Files:
  llvm/include/llvm/Transforms/Utils/SCCPSolver.h
  llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
  llvm/lib/Transforms/Utils/SCCPSolver.cpp
  llvm/test/Transforms/FunctionSpecialization/function-specialization4.ll
  llvm/test/Transforms/FunctionSpecialization/specialize-multiple-arguments.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119880.415477.patch
Type: text/x-patch
Size: 25157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220315/cc3609d1/attachment.bin>


More information about the llvm-commits mailing list