diff options
| author | Serguei Katkov <serguei.katkov@azul.com> | 2018-09-11 04:07:36 +0000 |
|---|---|---|
| committer | Serguei Katkov <serguei.katkov@azul.com> | 2018-09-11 04:07:36 +0000 |
| commit | 5f4a9e9ea05f6f99f60b954d213b7ea3a428fef7 (patch) | |
| tree | a510a798e92cf814c301184e06f3d201ee93bb5e /llvm/lib/IR/Comdat.cpp | |
| parent | 796b0e7a90f75a4773999e97a9868df077fbc97f (diff) | |
| download | bcm5719-llvm-5f4a9e9ea05f6f99f60b954d213b7ea3a428fef7.tar.gz bcm5719-llvm-5f4a9e9ea05f6f99f60b954d213b7ea3a428fef7.zip | |
[LICM] Avoid duplicate work during building AliasSetTracker
Currently we re-use cached info from sub loops or traverse them
to populate AliasSetTracker. But after that we traverse all basic blocks
from the current loop. This is redundant work.
All what we need is traversing the all basic blocks from the loop except
those which are used to get the data from the cache.
This should improve compile time only.
Reviewers: mkazantsev, reames, kariddi, anna
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D51715
llvm-svn: 341896
Diffstat (limited to 'llvm/lib/IR/Comdat.cpp')
0 files changed, 0 insertions, 0 deletions

