Fix a bug in the previous checkin: if the exit block is not the same as
authorChris Lattner <sabre@nondot.org>
Thu, 15 Apr 2004 20:26:22 +0000 (20:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 15 Apr 2004 20:26:22 +0000 (20:26 +0000)
commitd244057a48660c3cd30d219118ece3f947947790
treeebe4bad5e279fb47088a819d04f28f103e6c2e40
parentb75a3167585826816074685fba02f012d6cc2101
Fix a bug in the previous checkin: if the exit block is not the same as
the back-edge block, we must check the preincremented value.

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