llvm-project/llvm/test/Transforms/SampleProfile/Inputs
Dehao Chen 4a9dd70213 Fix the samplepgo indirect call promotion bug: we should not promote a direct call.
Summary: Checking CS.getCalledFunction() == nullptr does not necessary indicate indirect call. We also need to check if CS.getCalledValue() is not a constant.

Reviewers: davidxl

Reviewed By: davidxl

Subscribers: llvm-commits

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

llvm-svn: 294260
2017-02-06 23:33:15 +00:00
..
bad_discriminator_value.prof
bad_fn_header.prof
bad_line_values.prof
bad_mangle.prof
bad_sample_line.prof
bad_samples.prof
branch.prof Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
calls.prof
cov-zero-samples.prof
coverage-warning.prof
discriminator.prof
einline.prof Handle early inline for hot callsites that reside in the same basic block. 2016-09-19 18:38:14 +00:00
entry_counts.prof
fnptr.binprof Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
fnptr.prof Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
gcc-simple.afdo
indirect-call.prof Fix the samplepgo indirect call promotion bug: we should not promote a direct call. 2017-02-06 23:33:15 +00:00
inline-act.prof
inline-combine.prof
inline-coverage.prof Use call target count to derive the call instruction weight 2016-09-19 16:06:37 +00:00
inline-hint.prof
inline.prof
nodebug.prof Before sample pgo annotation, do not inline a function that has no debug info. (NFC) 2016-11-22 22:50:01 +00:00
nolocinfo.prof
offset.prof
propagate.prof
remarks.prof
summary.prof Hookup ProfileSummary with SampleProfilerLoader 2016-06-24 22:57:06 +00:00
syntax.prof