[PATCH] D145379: [FuncSpec] Cost model improvements.

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 10 11:38:06 PST 2023


labrinea updated this revision to Diff 504229.
labrinea added a comment.

Adjusted the test output for `recursive-penalty.ll`. Decreasing `MinScore` from 100 to 80 translates to 10 instead of 8 specializations being created for the test.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145379

Files:
  llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
  llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
  llvm/test/Transforms/FunctionSpecialization/function-specialization-constant-integers.ll
  llvm/test/Transforms/FunctionSpecialization/function-specialization-loop.ll
  llvm/test/Transforms/FunctionSpecialization/get-possible-constants.ll
  llvm/test/Transforms/FunctionSpecialization/recursive-penalty.ll
  llvm/test/Transforms/FunctionSpecialization/remove-dead-recursive-function.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145379.504229.patch
Type: text/x-patch
Size: 25245 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230310/873e2f5e/attachment.bin>


More information about the llvm-commits mailing list