diff options
author | Dehao Chen <dehao@google.com> | 2017-01-30 22:46:37 +0000 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2017-01-30 22:46:37 +0000 |
commit | 6775f5d6299ca841814db0926d2e80f9422d2f2e (patch) | |
tree | 0983222bbf11d880532bcf585f133f5f08e8f5ab /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 2282ede5a80da2cbcd9f2619f86151a7549340a0 (diff) | |
download | llvm-6775f5d6299ca841814db0926d2e80f9422d2f2e.zip llvm-6775f5d6299ca841814db0926d2e80f9422d2f2e.tar.gz llvm-6775f5d6299ca841814db0926d2e80f9422d2f2e.tar.bz2 |
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/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions