[llvm-commits] [llvm] r102946 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Duncan Sands baldrick at free.fr
Tue May 4 00:15:23 PDT 2010


Hi Dan,

> Also, pass true for isSigned even when creating constants for unsigned
> comparisons, because the point is to create an all-ones constant,
> rather than UINT64_MAX, even for integers wider than 64 bits.

why not use Constant::getAllOnesValue?

Ciao,

Duncan.



More information about the llvm-commits mailing list