Do not rewrite compare instruction using iv of a different stride if the new
authorEvan Cheng <evan.cheng@apple.com>
Thu, 25 Oct 2007 22:45:20 +0000 (22:45 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 25 Oct 2007 22:45:20 +0000 (22:45 +0000)
commit5f8ebaa5c0c216b7dbb16b781895e4af36bfa39a
treeee319da6606609d88330238c5886cfb3f7b9b2b9
parentca4571e79fc4298197c2a9521a0e855b0a280118
Do not rewrite compare instruction using iv of a different stride if the new
stride may be rewritten using the stride of the compare instruction.

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