[llvm-commits] CVS: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp LoopStrengthReduce.cpp

Chris Lattner clattner at apple.com
Fri Jun 15 13:51:06 PDT 2007


On Jun 15, 2007, at 7:38 AM, Dan Gohman wrote:

>
>
> Changes in directory llvm/lib/Transforms/Scalar:
>
> IndVarSimplify.cpp updated: 1.120 -> 1.121
> LoopStrengthReduce.cpp updated: 1.140 -> 1.141
> ---
> Log message:
>
> Add a SCEV class and supporting code for sign-extend expressions.
>
> This created an ambiguity for expandInTy to decide when to use
> sign-extension or zero-extension, but it turns out that most of its  
> callers
> don't actually need a type conversion, now that LLVM types don't have
> explicit signedness. Drop expandInTy in favor of plain expand, and  
> change
> the few places that actually need a type conversion to do it  
> themselves.

Very nice!

-Chris



More information about the llvm-commits mailing list