diff options
author | Jessica Paquette <jpaquette@apple.com> | 2018-08-31 20:20:53 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2018-08-31 20:20:53 +0000 |
commit | 9eda13e9762659989e1ff6874cdf970e6f779f58 (patch) | |
tree | 023ccaaef516a15a9802ed6a57c19af010724a40 /llvm/lib/Analysis/LoopPass.cpp | |
parent | f2a202ce7a2594e07fd6735c2f6cf25b3a749916 (diff) | |
download | bcm5719-llvm-9eda13e9762659989e1ff6874cdf970e6f779f58.tar.gz bcm5719-llvm-9eda13e9762659989e1ff6874cdf970e6f779f58.zip |
[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
llvm-svn: 341246
Diffstat (limited to 'llvm/lib/Analysis/LoopPass.cpp')
0 files changed, 0 insertions, 0 deletions