HomePhabricator

Refactor synthetic profile count computation. NFC.

Description

Refactor synthetic profile count computation. NFC.

Summary:
Instead of using two separate callbacks to return the entry count and the
relative block frequency, use a single callback to return callsite
count. This would allow better supporting hybrid mode in the future as
the count of callsite need not always be derived from entry count (as in
sample PGO).

Reviewers: davidxl

Subscribers: mehdi_amini, steven_wu, dexonsmith, dang, llvm-commits

Differential Revision: https://reviews.llvm.org/D56464

Details

Committed
eramanJan 9 2019, 12:10 PM
Differential Revision
D56464: Refactor synthetic profile count computation. NFC.
Parents
rL350754: [CodeGen] Clarify comment about COFF common symbol alignment
Branches
Unknown
Tags
Unknown