summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/GlobalStatus.cpp
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2017-01-14 00:32:37 +0000
committerEaswaran Raman <eraman@google.com>2017-01-14 00:32:37 +0000
commita7bdb8a5130a4178f99e9235fd7739bbc4fd98ac (patch)
tree0f34f5921a3f7eb97bb65c4100b5ce88fc130d4d /llvm/lib/Transforms/Utils/GlobalStatus.cpp
parentb66164ca3478b37592f994771576a864e2060200 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud