diff options
author | Rong Xu <xur@google.com> | 2018-11-07 23:51:20 +0000 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2018-11-07 23:51:20 +0000 |
commit | fb4bcc452c0cfba85b7e5b177727eb8c8f966c58 (patch) | |
tree | 4c56e5c3546d58ff9a5f34f3a5beecd577a5a6d1 /llvm/tools/llvm-readobj/ELFDumper.cpp | |
parent | 892bbd3f88b9f44efeb4fa9156e569c188d600f3 (diff) | |
download | bcm5719-llvm-fb4bcc452c0cfba85b7e5b177727eb8c8f966c58.tar.gz bcm5719-llvm-fb4bcc452c0cfba85b7e5b177727eb8c8f966c58.zip |
[PGO] Exit early if all count values are zero
If all the edge counts for a function are zero, skip count population and
annotation, as nothing will happen. This can save some compile time.
Differential Revision: https://reviews.llvm.org/D54212
llvm-svn: 346370
Diffstat (limited to 'llvm/tools/llvm-readobj/ELFDumper.cpp')
0 files changed, 0 insertions, 0 deletions