summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/LegacyPassManager.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2018-08-31 20:20:54 +0000
committerJessica Paquette <jpaquette@apple.com>2018-08-31 20:20:54 +0000
commit872a4c92b24d225cd781b9def6f02aa82b8a5da5 (patch)
tree1fa576566c085dc0a60c72c7d02ee91d6c753b15 /llvm/lib/IR/LegacyPassManager.cpp
parent9eda13e9762659989e1ff6874cdf970e6f779f58 (diff)
downloadbcm5719-llvm-872a4c92b24d225cd781b9def6f02aa82b8a5da5.tar.gz
bcm5719-llvm-872a4c92b24d225cd781b9def6f02aa82b8a5da5.zip
[NFC] Pre-calculate loop IR counts in size remarks.
Another commit reducing compile time in size remarks. Cache the size of the module and loop, and update values based off of deltas instead. Avoid recalculating the size of the whole module whenever possible. 3/6 llvm-svn: 341247
Diffstat (limited to 'llvm/lib/IR/LegacyPassManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud