[llvm-commits] [llvm] r51179 - /llvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp

Chris Lattner clattner at apple.com
Fri May 16 07:22:02 PDT 2008


On May 15, 2008, at 9:32 PM, Owen Anderson wrote:

> Author: resistor
> Date: Thu May 15 23:32:45 2008
> New Revision: 51179
>
> URL: http://llvm.org/viewvc/llvm-project?rev=51179&view=rev
> Log:
> 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.

Doesn't indvars rewrite the exit condition of the loop such that  
Loop::getTripCount returns the right thing?

-Chris



More information about the llvm-commits mailing list