[llvm] [FuncSpec] Improve accounting of specialization codesize growth (PR #113448)

Hari Limaye via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 04:38:29 PDT 2024


================
@@ -131,13 +131,16 @@ struct Spec {
   // Profitability of the specialization.
   unsigned Score;
 
+  // Cost of the specialization, in terms of codesize.
+  unsigned CodeSizeCost;
----------------
hazzlim wrote:

Done

https://github.com/llvm/llvm-project/pull/113448


More information about the llvm-commits mailing list