When inserting expressions for post-increment users which contain
authorDan Gohman <gohman@apple.com>
Thu, 21 Jan 2010 23:01:22 +0000 (23:01 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 21 Jan 2010 23:01:22 +0000 (23:01 +0000)
commiteca35b76cec713abb932eb016198b24a1acae314
treec093c374bb8612ba8a5a7ee49cd3f3c90fca8676
parent940bd3e23666b44797270b0b0cd0609f74166980
When inserting expressions for post-increment users which contain
loop-variant components, adds must be inserted after the increment.
Keep track of the increment position for this case, and insert
these adds in the correct location.

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