forked from OSchip/llvm-project
2a6b7991d4
Summary: Don't use the metadata on call instructions for determining hotness unless we are in sample PGO mode, where it is needed because profile counts are not accurate. In instrumentation mode this is not necessary and does more harm than good when calls have VP metadata that hasn't been properly scaled after transformations or dropped after constant prop based devirtualization (both should be fixed, but we don't need to do this in the first place for instrumentation PGO). This required adjusting a number of tests to distinguish between sample and instrumentation PGO handling, and to add in profile summary metadata so that getProfileCount can get the summary. Reviewers: davidxl, danielcdh Subscribers: aemerson, rengolin, mehdi_amini, Prazek, llvm-commits Differential Revision: https://reviews.llvm.org/D32877 llvm-svn: 302844 |
||
---|---|---|
.. | ||
AArch64 | ||
AMDGPU | ||
ARM | ||
NVPTX | ||
X86 | ||
2008-11-24-RAUW-Self.ll | ||
basic.ll | ||
bitreverse-hang.ll | ||
builtin-condition.ll | ||
dom-tree.ll | ||
invariant.group.ll | ||
overflow-intrinsics.ll | ||
section-samplepgo.ll | ||
section.ll | ||
skip-merging-case-block.ll | ||
split-indirect-loop.ll | ||
statepoint-relocate.ll |