Memoize results from ScalarEvolution's getUnsignedRange and getSignedRange.
authorDan Gohman <gohman@apple.com>
Wed, 17 Nov 2010 02:44:44 +0000 (02:44 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 17 Nov 2010 02:44:44 +0000 (02:44 +0000)
commit6678e7b6eb534b43b92105076e6d0553e5cf7def
tree547878ba307aa707088bbea651834488cbae1d3f
parent32df92dde60a027612880e4701ce1b0246d65eae
Memoize results from ScalarEvolution's getUnsignedRange and getSignedRange.
This fixes some extreme compile times on unrolled sha512 code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119455 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
include/llvm/Support/ConstantRange.h
lib/Analysis/ScalarEvolution.cpp