Teach getModRefInfo that memcpy, memmove, and memset don't "capture" memory addresses.
authorOwen Anderson <resistor@mac.com>
Sun, 17 Feb 2008 21:29:08 +0000 (21:29 +0000)
committerOwen Anderson <resistor@mac.com>
Sun, 17 Feb 2008 21:29:08 +0000 (21:29 +0000)
commit9b636cb3385376faa7f33a943cac7d40bff1531a
tree1a1a1a651e5f99a457c7c787c568e8530aecc352
parentdd12f96c5e2292e398f363cf352d6a95847a8a55
Teach getModRefInfo that memcpy, memmove, and memset don't "capture" memory addresses.
Also, noalias arguments are be considered "like" stack allocated ones for this purpose, because
the only way they can be modref'ed is if they escape somewhere in the current function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47247 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp