summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-10-13 05:50:52 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-10-13 05:50:52 +0000
commite6b995f2b2bf639c63c34a33ab5325645ec8bd36 (patch)
tree6a480c66b7d7ef14a3af1c243fa27403ea7bc975 /llvm/lib/Bitcode
parent6794eb8ba15e9be367626774af20cc6c19dda8d7 (diff)
downloadbcm5719-llvm-e6b995f2b2bf639c63c34a33ab5325645ec8bd36.tar.gz
bcm5719-llvm-e6b995f2b2bf639c63c34a33ab5325645ec8bd36.zip
[SCEV] Maintain loop use lists, and use them in forgetLoop
Summary: Currently we do not correctly invalidate memoized results for add recurrences that were created directly (i.e. they were not created from a `Value`). This change fixes this by keeping loop use lists and using the loop use lists to determine which SCEV expressions to invalidate. Here are some statistics on the number of uses of in the use lists of all loops on a clang bootstrap (config: release, no asserts): Count: 731310 Min: 1 Mean: 8.555150 50th %time: 4 95th %tile: 25 99th %tile: 53 Max: 433 Reviewers: atrick, sunfish, mkazantsev Subscribers: mcrosier, llvm-commits Differential Revision: https://reviews.llvm.org/D38434 llvm-svn: 315672
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud