[llvm-commits] [llvm] r64453 - in /llvm/trunk: lib/Transforms/Scalar/SimplifyLibCalls.cpp test/Transforms/SimplifyLibCalls/2009-02-12-StrTo.ll

Nick Lewycky nicholas at mxc.ca
Fri Feb 13 09:09:02 PST 2009


Duncan Sands wrote:
> Hi Nick,
> 
>> On strtod and friends, mark 'endptr' nocapture in the function prototype, and
>> mark the first argument nocapture if endptr=NULL for each particular call.
> 
> if endptr==NULL then you can also mark the call "readonly".

Great catch! Added in r64460.

Nick



More information about the llvm-commits mailing list