In GenerateReassociations, don't bother thinking about individual
authorDan Gohman <gohman@apple.com>
Fri, 25 Jun 2010 22:32:18 +0000 (22:32 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 25 Jun 2010 22:32:18 +0000 (22:32 +0000)
commit3e3f15bb09eaca4d259e531c9a1ecafb5710b57b
tree8419c4d455f9eb474729dfe550f79339543044c5
parent544a95d7161a0b333ec889d77941aff828e627ac
In GenerateReassociations, don't bother thinking about individual
SCEVUnknown values which are loop-variant, as LSR can't do anything
interesting with these values in any case. This fixes very slow compile
times on loops which have large numbers of such values.

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