[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)
commit04cc665cef4393222a6e7cd828342f9e6283164c
treec36e5c16f166c947b19c86dd4992a940e018602e
parentb2b6511a96c89c4c4f33d480c03730d799a2ed86
[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.

llvm-svn: 238124
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp