summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/BranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-08-08 20:57:33 +0000
committerDehao Chen <dehao@google.com>2017-08-08 20:57:33 +0000
commit34cfcb29aaccbba4e00786013db1a0db77838eae (patch)
tree9c1703e388e5798f1d357d7dbbd1f308acd627c5 /llvm/lib/Analysis/BranchProbabilityInfo.cpp
parent512253292cfd21d59a175156402c54fb64e97ef8 (diff)
downloadbcm5719-llvm-34cfcb29aaccbba4e00786013db1a0db77838eae.tar.gz
bcm5719-llvm-34cfcb29aaccbba4e00786013db1a0db77838eae.zip
Make ICP uses PSI to check for hotness.
Summary: Currently, ICP checks the count against a fixed value to see if it is hot enough to be promoted. This does not work for SamplePGO because sampled count may be much smaller. This patch uses PSI to check if the count is hot enough to be promoted. Reviewers: davidxl, tejohnson, eraman Reviewed By: davidxl Subscribers: sanjoy, llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D36341 llvm-svn: 310416
Diffstat (limited to 'llvm/lib/Analysis/BranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud