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

Duncan Sands duncan.sands at math.u-psud.fr
Fri Feb 13 07:43:37 PST 2009


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".

Ciao,

Duncan.



More information about the llvm-commits mailing list