Clarify that the scale factor from CheckForIVReuse
authorDale Johannesen <dalej@apple.com>
Tue, 16 Dec 2008 22:16:28 +0000 (22:16 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 16 Dec 2008 22:16:28 +0000 (22:16 +0000)
commitb0390620d462cc3f48492febdbdbae4cb45d8bcd
tree797c6be3c1bf9ae1e07b8ac5d01c93a8580ab866
parentfd3b7b7df3d539d1244933d375a766d7a7fe6c91
Clarify that the scale factor from CheckForIVReuse
can be negative.  Keep track of whether all uses of
an IV are outside the loop.  Some cosmetics; no
functional change.

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