llvm-project
e19a5fc6 - [FuncSpec] Improve accounting of specialization codesize growth (#113448)

Commit
1 year ago
[FuncSpec] Improve accounting of specialization codesize growth (#113448) Only accumulate the codesize increase of functions that are actually specialized, rather than for every candidate specialization that we analyse. This fixes a subtle bug where prior analysis of candidate specializations that were deemed unprofitable could prevent subsequent profitable candidates from being recognised.
Author
Parents
Loading