There is no guarantee that the increment and the branch
authorChris Lattner <sabre@nondot.org>
Sat, 3 Apr 2010 06:05:10 +0000 (06:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 3 Apr 2010 06:05:10 +0000 (06:05 +0000)
commitc4f7e8061de19172d4c3f70a80447505b792e450
tree1e8b7d4d268b711204ca12e30f69e19fa740619b
parent07aa76ad939e053c1992a03cbcb16aff74f26651
There is no guarantee that the increment and the branch
are in the same block.  Insert the new increment in the
correct location.

Also, more cleanups.

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