[llvm-commits] [llvm] r64407 - in /llvm/trunk: include/llvm/Analysis/ScalarEvolution.h lib/Analysis/ScalarEvolution.cpp lib/Transforms/Scalar/IndVarSimplify.cpp test/Transforms/IndVarsSimplify/promote-iv-to-eliminate-casts.ll

Duncan Sands baldrick at free.fr
Fri Feb 13 01:40:13 PST 2009


Hi Dan,

> Teach IndVarSimplify to optimize code using the C "int" type for
> loop induction on LP64 targets. When the induction variable is
> used in addressing, IndVars now is usually able to inserst a
> 64-bit induction variable and eliminates the sign-extending cast.
> This is also useful for code using C "short" types for
> induction variables on targets with 32-bit addressing.

does this fix PR1301?

Ciao,

Duncan.



More information about the llvm-commits mailing list