[Unroll] Switch from an eagerly populated SCEV cache to one that is
authorChandler Carruth <chandlerc@gmail.com>
Mon, 25 May 2015 01:00:46 +0000 (01:00 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 25 May 2015 01:00:46 +0000 (01:00 +0000)
commit3dd00ff8346ea936d0924de796f14a96c4e409d6
tree4418e3980ed01661c0907c59acc971cd463f7d11
parent8ef4be78cd0a4ab02137d87aa5ff5a87e55a521c
[Unroll] Switch from an eagerly populated SCEV cache to one that is
lazily built.

Also, make it a much more generic SCEV cache, which today exposes only
a reduced GEP model description but could be extended in the future to
do other profitable caching of SCEV information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238124 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnrollPass.cpp