llvm-project/llvm/test/Transforms/SampleProfile
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
..
Inputs Fix the samplepgo indirect call promotion bug: we should not promote a direct call. 2017-02-06 23:33:15 +00:00
branch.ll
calls.ll Merge DebugLoc on combined stores; in this case, when combining stores 2017-02-06 22:19:04 +00:00
cov-zero-samples.ll Renumber testcase metadata nodes after r290153. 2016-12-22 00:45:21 +00:00
coverage-warning.ll
discriminator.ll
early-inline.ll
entry_counts.ll
fnptr.ll
gcc-simple.ll
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
inline-combine.ll
inline-coverage.ll
inline.ll
nodebug.ll
nolocinfo.ll
offset.ll
propagate.ll
remarks.ll
summary.ll
syntax.ll