llvm-project/llvm/test/Transforms/CodeGenPrepare
Wei Mi 7da5a08e1a [SampleFDO] Extend profile-sample-accurate option to cover isFunctionColdInCallGraph
For SampleFDO, when a callsite doesn't appear in the profile, it will not be marked as cold callsite unless the option -profile-sample-accurate is specified.

But profile-sample-accurate doesn't cover function isFunctionColdInCallGraph which is used to decide whether a function should be put into text.unlikely section, so even if the user knows the profile is accurate and specifies profile-sample-accurate, those functions not appearing in the sample profile are still not be put into text.unlikely section right now.

The patch fixes that.

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

llvm-svn: 348940
2018-12-12 17:09:27 +00:00
..
AArch64 Fix a use-after-RAUW bug in large GEP splitting 2018-10-19 19:02:16 +00:00
AMDGPU AMDGPU: Fix tests using old number for constant address space 2018-09-10 02:54:25 +00:00
ARM [CodeGen] Enable tail calls for functions with NonNull attributes. 2018-09-26 10:46:18 +00:00
Mips [CodeGenPrepare] Check that erased sunken address are not reused 2017-11-24 16:45:28 +00:00
NVPTX [BypassSlowDivision] Improve our handling of divisions by constants 2017-12-04 19:21:58 +00:00
X86 [CodeGenPrepare] Set debug loc when widening a switch condition 2018-08-22 01:23:31 +00:00
2008-11-24-RAUW-Self.ll
basic.ll Make llvm.objectsize more conservative with null 2018-07-09 22:21:16 +00:00
bitreverse-hang.ll
builtin-condition.ll
crash-on-large-allocas.ll
dom-tree.ll
gep-unmerging.ll
invariant.group.ll Implement strip.invariant.group 2018-07-02 04:49:30 +00:00
nonintegral.ll
overflow-intrinsics.ll [CodeGenPrepare] Set debug locs when folding a comparison into a uadd.with.overflow 2018-08-22 18:15:03 +00:00
section-samplepgo.ll [SampleFDO] Extend profile-sample-accurate option to cover isFunctionColdInCallGraph 2018-12-12 17:09:27 +00:00
section.ll [PGO] Function section hotness prefix should look at all blocks 2017-12-20 17:53:10 +00:00
sink-shift-and-trunc.ll [CodeGenPrepare] Preserve debug locs in OptimizeExtractBits 2018-09-15 04:08:52 +00:00
skip-merging-case-block.ll Revert "[CGP] Merge empty case blocks if no extra moves are added." 2017-10-27 00:35:18 +00:00
split-indirect-loop.ll
statepoint-relocate.ll