summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-01-30 22:46:37 +0000
committerDehao Chen <dehao@google.com>2017-01-30 22:46:37 +0000
commit6775f5d6299ca841814db0926d2e80f9422d2f2e (patch)
tree0983222bbf11d880532bcf585f133f5f08e8f5ab /llvm/lib/Analysis/CodeMetrics.cpp
parent2282ede5a80da2cbcd9f2619f86151a7549340a0 (diff)
downloadbcm5719-llvm-6775f5d6299ca841814db0926d2e80f9422d2f2e.tar.gz
bcm5719-llvm-6775f5d6299ca841814db0926d2e80f9422d2f2e.zip
Expose isLegalToPromot as a global helper function so that SamplePGO pass can call it for legality check.
Summary: SamplePGO needs to check if it is legal to promote a target before it actually promotes it. Reviewers: davidxl Reviewed By: davidxl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29306 llvm-svn: 293559
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud