ModuleSummary should use the standard interface of ProfileSummary::getProfileCount.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 4908 Build 4908: arc lint + arc unit
Event Timeline
| lib/Analysis/ModuleSummaryAnalysis.cpp | ||
|---|---|---|
| 235 | We already have the instruction (&I), no need to consult the CS. | |
| test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll | ||
| 53 | Do we get a profile count on a call instruction that gives a different weight than the enclosing BB only for SamplePGO I guess? | |
| test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll | ||
|---|---|---|
| 53 | Yes, only SamplePGO sets the profile count on call instructions. | |
We already have the instruction (&I), no need to consult the CS.