================ @@ -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