diff options
author | Jessica Paquette <jpaquette@apple.com> | 2018-08-31 20:20:56 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2018-08-31 20:20:56 +0000 |
commit | 1fc443b8877e16c145a73158ed68def18f9f1f6a (patch) | |
tree | 451e6962ebf124316a92eb411ef09efb72df847d /llvm/lib/Analysis/LoopPass.cpp | |
parent | 454d1032e90e7510c6902c957663b76c4ad8563a (diff) | |
download | bcm5719-llvm-1fc443b8877e16c145a73158ed68def18f9f1f6a.tar.gz bcm5719-llvm-1fc443b8877e16c145a73158ed68def18f9f1f6a.zip |
[NFC] Pre-calculate SCC IR counts in size remarks.
Same vein as the previous commits. Pre-calculate the size of
the module and use that to decide if we're going to emit a
remark.
This one comes with a FIXME and TODO. First off, CallGraphSCC
and CallGraphNode don't have a getInstructionCount function. So,
for now, we do the same thing as in a module pass.
Second off, we're not really saving anything here yet, because
as before, I need to change emitInstrCountChangedRemark to take
in a delta. Keeping the patches small though, so that's coming up
next.
5/6
llvm-svn: 341249
Diffstat (limited to 'llvm/lib/Analysis/LoopPass.cpp')
0 files changed, 0 insertions, 0 deletions