mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
b98b101080
Summary: In r277849, getEntryCount was changed to return None when the entry count was 0, specifically for SamplePGO where it means no samples were recorded. However, for instrumentation PGO a 0 entry count should be returned directly, since it does mean that the function was completely cold. Otherwise we end up treating these functions conservatively in isFunctionEntryCold() and isColdBB(). Instead, for SamplePGO use -1 when there are no samples, and change getEntryCount to return None when the value is -1. Reviewers: danielcdh, davidxl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D41307 llvm-svn: 321018 |
||
---|---|---|
.. | ||
Inputs | ||
branch.ll | ||
calls.ll | ||
cov-zero-samples.ll | ||
coverage-warning.ll | ||
discriminator.ll | ||
early-inline.ll | ||
entry_counts.ll | ||
fnptr.ll | ||
function_metadata.ll | ||
gcc-simple.ll | ||
indirect-call-gcc.ll | ||
indirect-call.ll | ||
inline-act.ll | ||
inline-combine.ll | ||
inline-coverage.ll | ||
inline.ll | ||
nodebug.ll | ||
nolocinfo.ll | ||
offset.ll | ||
propagate.ll | ||
remarks.ll | ||
summary.ll | ||
syntax.ll |