Clean ups for loop deletion based on Chris' feedback.
authorOwen Anderson <resistor@mac.com>
Fri, 16 May 2008 04:32:45 +0000 (04:32 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 16 May 2008 04:32:45 +0000 (04:32 +0000)
commit0db198d7587951f47e9cc93db1fd5e6175ceb695
tree457f0235575a178548bddf6809cb81896e389617
parentd870b9a4e35b9c22c491eaa4ec15351ce50f1a5f
Clean ups for loop deletion based on Chris' feedback.

Also, use SCEV to determine the trip count of the loop, which is more powerful
and accurate that Loop::getTripCount.

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