diff options
author | Wei Mi <wmi@google.com> | 2018-12-13 21:51:42 +0000 |
---|---|---|
committer | Wei Mi <wmi@google.com> | 2018-12-13 21:51:42 +0000 |
commit | 66c6c5abea94e3fcaef169f54b0c91e087ec15dc (patch) | |
tree | c10fea0e5612aab1501b3ce07614621d82e0c01f /openmp/runtime/src/kmp_settings.cpp | |
parent | 7b05666a19c1310d2d3b7e05d08313695b4eaa92 (diff) | |
download | bcm5719-llvm-66c6c5abea94e3fcaef169f54b0c91e087ec15dc.tar.gz bcm5719-llvm-66c6c5abea94e3fcaef169f54b0c91e087ec15dc.zip |
[SampleFDO] handle ProfileSampleAccurate when initializing function entry count
ProfileSampleAccurate is used to indicate the profile has exact match to the
code to be optimized.
Previously ProfileSampleAccurate is handled in ProfileSummaryInfo::isColdCallSite
and ProfileSummaryInfo::isColdBlock. A better solution is to initialize function
entry count to 0 when ProfileSampleAccurate is true, so we don't have to handle
ProfileSampleAccurate in multiple places.
Differential Revision: https://reviews.llvm.org/D55660
llvm-svn: 349088
Diffstat (limited to 'openmp/runtime/src/kmp_settings.cpp')
0 files changed, 0 insertions, 0 deletions