diff options
author | Easwaran Raman <eraman@google.com> | 2017-01-14 00:32:37 +0000 |
---|---|---|
committer | Easwaran Raman <eraman@google.com> | 2017-01-14 00:32:37 +0000 |
commit | a7bdb8a5130a4178f99e9235fd7739bbc4fd98ac (patch) | |
tree | 0f34f5921a3f7eb97bb65c4100b5ce88fc130d4d /llvm/lib/Transforms/Utils/GlobalStatus.cpp | |
parent | b66164ca3478b37592f994771576a864e2060200 (diff) | |
download | bcm5719-llvm-a7bdb8a5130a4178f99e9235fd7739bbc4fd98ac.tar.gz bcm5719-llvm-a7bdb8a5130a4178f99e9235fd7739bbc4fd98ac.zip |
Compute summary before calling extractProfTotalWeight
extractProfTotalWeight checks if the profile type is sample profile, but
before that we have to ensure that summary is available. Also expanded
the unittest to test the case where there is no summar
Differential Revision: https://reviews.llvm.org/D28708
llvm-svn: 291982
Diffstat (limited to 'llvm/lib/Transforms/Utils/GlobalStatus.cpp')
0 files changed, 0 insertions, 0 deletions