llvm-project
6b6e8e15 - [FunctionSpecialization] Preserve call counts of specialized functions (#157768)

Commit
94 days ago
[FunctionSpecialization] Preserve call counts of specialized functions (#157768) A function that has been specialized will have its function entry counts preserved as follows: * Each specialization's count is the sum of each call site's basic block's number of entries as computed by `BlockFrequencyInfo`. * The original function's count will be decreased by the counts of its specializations. Tracking issue: #147390
Author
Parents
Loading