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

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


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

Changes from last revision:

- Removed redefinition of `SpecMap` type from the header file.
- Removed @param `Cost` from the description of `findSpecializations()` in the header file.
- Decreased the value of `MinScore` from 100 to 80 as it no longer specialized mcf_r from SPEC2017.


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.504223.patch
Type: text/x-patch
Size: 25244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230310/5a28e698/attachment.bin>


More information about the llvm-commits mailing list