commit | d5892380e1799e89e8c8c3a4f4f2fab728a8a050 | [log] [tgz] |
---|---|---|
author | Wei Mi <wmi@google.com> | Tue Jul 14 23:40:50 2015 +0000 |
committer | Wei Mi <wmi@google.com> | Tue Jul 14 23:40:50 2015 +0000 |
tree | 89409032466110eb78bc05f4900b118b53299994 | |
parent | 37de644bfb6e119e19e68638d31c1baf0aeec89e [diff] |
Create a wrapper pass for BlockFrequencyInfo. This is useful when we want to do block frequency analysis conditionally (e.g. only in PGO mode) but don't want to add one more pass dependence. Patch by congh. Approved by dexonsmith. Differential Revision: http://reviews.llvm.org/D11196 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242248 91177308-0d34-0410-b5e6-96231b3b80d8