[llvm-commits] [llvm] r71262 - in /llvm/trunk: include/llvm/Analysis/ScalarEvolution.h lib/Analysis/ScalarEvolution.cpp

Duncan Sands baldrick at free.fr
Fri May 8 23:57:26 PDT 2009


Hi Dan,

> Fix another bug in r71252. This code supports GetElementPtr
> constant exprs as well as instructions.
...
> -    SCEVHandle createNodeForGEP(GetElementPtrInst *GEP);
> +    SCEVHandle createNodeForGEP(User *GEP);

can't you use a Value* here?  That covers instructions as
well as constants.

Ciao,

Duncan.



More information about the llvm-commits mailing list