diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-11-29 21:02:37 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-12-01 10:16:47 +0100 |
commit | 67704801c679a59c552dfade92a3d7c53979e2c8 (patch) | |
tree | 905048ce783509f50b7014d4e19975d890350a92 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | ec15b7307f54ab5203f3fbf134e0b57deeb2a93f (diff) | |
download | llvm-67704801c679a59c552dfade92a3d7c53979e2c8.zip llvm-67704801c679a59c552dfade92a3d7c53979e2c8.tar.gz llvm-67704801c679a59c552dfade92a3d7c53979e2c8.tar.bz2 |
[SCEV] Track backedge taken count users (NFCI)
Track which SCEVs are used as ExactNotTaken counts in
BackedgeTakenInfo structures, so we can directly determine which
loops need to be invalidated, rather than iterating over all BECounts.
This gives a small compile-time improvement on average, but the
motivation here is more to ensure there are no degenerate cases,
if the number of backedge taken counts is large.
Differential Revision: https://reviews.llvm.org/D114784
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions