Reverse the order for collecting the parts of an addrec. The order
authorDan Gohman <gohman@apple.com>
Fri, 12 Feb 2010 11:08:26 +0000 (11:08 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 12 Feb 2010 11:08:26 +0000 (11:08 +0000)
commitf21a2f15aa967f16c2b8c71da3009c583890a059
tree05c33261b608b370d48ea409a59831bee1151b10
parent572645cf84060c0fc25cb91d38cb9079918b3a88
Reverse the order for collecting the parts of an addrec. The order
doesn't matter, except that ScalarEvolution tends to need less time
to fold the results this way.

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