[llvm-commits] [llvm-gcc-4.2] r54520 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Fri Aug 8 00:50:33 PDT 2008


Hi Nick,

> +  if (ConstantExpr *CE = dyn_cast<ConstantExpr>(ArrayRef))
> +    return ConstantFoldConstantExpression(CE, &getTargetData());

in theory this method can return NULL (at least that's what
the comment on it says).

Ciao,

Duncan.



More information about the llvm-commits mailing list