commit | 87d50cfb8ffc19133353833b8d19f60691a11d97 | [log] [tgz] |
---|---|---|
author | Jessica Paquette <jpaquette@apple.com> | Fri Aug 31 20:54:37 2018 +0000 |
committer | Jessica Paquette <jpaquette@apple.com> | Fri Aug 31 20:54:37 2018 +0000 |
tree | faa59365a597d5741a9116fdc37566ddd97332b1 | |
parent | a5d3acd60ee89fcc566ea3466d0e76f78f06e2fe [diff] |
[NFC] Optionally pass a function to emitInstrCountChangedRemark In basic block, loop, and function passes, we already have a function that we can use to emit optimization remarks. We can use that instead of searching the module for the first suitable function (that is, one that contains at least one basic block.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341253 91177308-0d34-0410-b5e6-96231b3b80d8