commit | c1a096dcd9651ce313e30443030339b88823e4e8 | [log] [tgz] |
---|---|---|
author | Jessica Paquette <jpaquette@apple.com> | Fri Aug 31 20:20:53 2018 +0000 |
committer | Jessica Paquette <jpaquette@apple.com> | Fri Aug 31 20:20:53 2018 +0000 |
tree | 212ae4e959d84ee379843f288ca162d51a92d845 | |
parent | e76b95dac1198aa6e81b17916a1bf1ffcbb8655a [diff] |
[NFC] Pre-calculate basic block IR counts in size remarks. Size remarks are slow due to lots of recalculation of the module. This is similar to the previous commit. Cache the size of the module and update counts in basic block passes based off a less-expensive delta. 2/6 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341246 91177308-0d34-0410-b5e6-96231b3b80d8