[llvm-commits] [llvm] r56017 - in /llvm/trunk: lib/Transforms/Scalar/IndVarSimplify.cpp test/Transforms/IndVarsSimplify/2008-09-02-IVType.ll

Duncan Sands baldrick at free.fr
Wed Sep 10 00:12:52 PDT 2008


Hi Devang,

> +/// OptimizeCanonicalIVType - If loop induction variable is always
> +/// sign or zero extended then extend the type of induction

type of induction -> type of the induction

> +  unsigned BackEdge     = IncomingEdge^1;

What's the ^1 for?

> +  // transformstion.

transformstion -> transformation

> +  BinaryOperator *Incr = NULL;
> +  const Type *NewType   = NULL;

Were the NULL's supposed to line up here?

> +      isSEXT =  true;

Extra space after =

Ciao,

Duncan.



More information about the llvm-commits mailing list