Mark strto* as readonly when the endptr is null.
authorNick Lewycky <nicholas@mxc.ca>
Fri, 13 Feb 2009 17:08:33 +0000 (17:08 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 13 Feb 2009 17:08:33 +0000 (17:08 +0000)
commit02b6a6a75f29f59a4ea267608c6d3f6b1ebbf0d5
treebc02cda5264f6cd405a0a375c5872a2c55f849cb
parent4c49841f34baa3d0114ab8391403bee8b1a136e8
Mark strto* as readonly when the endptr is null.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64460 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyLibCalls.cpp
test/Transforms/SimplifyLibCalls/2009-02-12-StrTo.ll