llvm-project/llvm/test/Transforms/SampleProfile
Dehao Chen 53a0c082d2 Do not set branch weight if the branch weight annotation is present.
Summary: ThinLTO will annotate the CFG twice. If the branch weight is set by the first annotation, we should not set the branch weight again in the second annotation because the first annotation is more accurate as there is less optimization that could affect debug info accuracy.

Reviewers: tejohnson, davidxl

Reviewed By: tejohnson

Subscribers: mehdi_amini, aprantl, llvm-commits

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

llvm-svn: 298602
2017-03-23 14:43:10 +00:00
..
Inputs Add function importing info from samplepgo profile to the module summary. 2017-02-28 18:09:44 +00:00
branch.ll Do not set branch weight if the branch weight annotation is present. 2017-03-23 14:43:10 +00:00
calls.ll Remove the sample pgo annotation heuristic that uses call count to annotate basic block count. 2017-03-06 17:49:59 +00:00
cov-zero-samples.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
coverage-warning.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
discriminator.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
early-inline.ll Verifier: Disallow a line number without a file in DISubprogram 2017-02-17 23:57:42 +00:00
entry_counts.ll Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
fnptr.ll Remove the sample pgo annotation heuristic that uses call count to annotate basic block count. 2017-03-06 17:49:59 +00:00
gcc-simple.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
import.ll Add function importing info from samplepgo profile to the module summary. 2017-02-28 18:09:44 +00:00
indirect-call-gcc.ll Fix an obvious bug in SampleProfileReaderGCC. 2017-02-22 17:27:21 +00:00
indirect-call.ll Fix the samplepgo indirect call promotion bug: we should not promote a direct call. 2017-02-06 23:33:15 +00:00
inline-act.ll Pass AssumptionCacheTracker from SampleProfileLoader to Inliner 2016-06-20 20:53:40 +00:00
inline-combine.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
inline-coverage.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
inline.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
nodebug.ll Before sample pgo annotation, do not inline a function that has no debug info. (NFC) 2016-11-22 22:50:01 +00:00
nolocinfo.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
offset.ll Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
propagate.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
remarks.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
summary.ll Only sets profile summary when it was not preset. 2016-12-14 22:06:49 +00:00
syntax.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00