commit | d079edbd8df3a1a0269e95409e92316fefe2ac19 | [log] [tgz] |
---|---|---|
author | Rong Xu <xur@google.com> | Wed Nov 07 23:51:20 2018 +0000 |
committer | Rong Xu <xur@google.com> | Wed Nov 07 23:51:20 2018 +0000 |
tree | 2b7e2525092dc2f6ea905d8e5fb683731f325c3b | |
parent | bcb50253e9128093b09314e7cb941ab7cad32908 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346370 91177308-0d34-0410-b5e6-96231b3b80d8