summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-01-06 08:45:52 +0000
committerDuncan Sands <baldrick@free.fr>2010-01-06 08:45:52 +0000
commit78376ad7e15740eab9bed7efefca354c05d3d2e2 (patch)
tree882bcbdbddcdd85694fc7ffcae1010d4f1195068 /clang/lib/CodeGen/CodeGenModule.cpp
parenta671c2a9fe496d8694ad7f6daa84f5b5d7f193a4 (diff)
downloadbcm5719-llvm-78376ad7e15740eab9bed7efefca354c05d3d2e2.tar.gz
bcm5719-llvm-78376ad7e15740eab9bed7efefca354c05d3d2e2.zip
Partially address a README by having functionattrs consider calls to
memcpy, memset and other intrinsics that only access their arguments to be readnone if the intrinsic's arguments all point to local memory. This improves the testcase in the README to readonly, but it could in theory be made readnone, however this would involve more sophisticated analysis that looks through the memcpy. llvm-svn: 92829
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud