commit | a2090aaaf9bc9288f91ebafad756879883625153 | [log] [tgz] |
---|---|---|
author | Easwaran Raman <eraman@google.com> | Fri Jan 13 01:34:00 2017 +0000 |
committer | Easwaran Raman <eraman@google.com> | Fri Jan 13 01:34:00 2017 +0000 |
tree | 725bc128f36f16320990799b812015f73682a4cf | |
parent | 72895656c7582d3d5007dac363d877f0bd1a0c67 [diff] |
ProfileSummaryInfo improvements. * Add is{Hot|Cold}CallSite methods * Fix a bug in isHotBB where it was looking for MD_prof on a return instruction * Use MD_prof data only if sample profiling was used to collect profiles. * Add an unit test to ProfileSummaryInfo Differential Revision: https://reviews.llvm.org/D28584 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291878 91177308-0d34-0410-b5e6-96231b3b80d8