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

Nick Lewycky nicholas at mxc.ca
Fri Aug 8 19:39:37 PDT 2008


Duncan Sands wrote:
> 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).

Indeed, it can. Thanks for pointing that out.

Nick



More information about the llvm-commits mailing list