[llvm] [FuncSpec] Improve accounting of specialization codesize growth (PR #113448)
Alexandros Lamprineas via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 07:47:39 PDT 2024
================
@@ -131,13 +131,16 @@ struct Spec {
// Profitability of the specialization.
unsigned Score;
+ // Cost of the specialization, in terms of codesize.
+ unsigned CodeSizeCost;
----------------
labrinea wrote:
If we decide to keep this field please s/CodeSizeCost/CodeSize and update the comment please ("Number of instructions of the specialization" or similar)
https://github.com/llvm/llvm-project/pull/113448
More information about the llvm-commits
mailing list