commit | 9b636cb3385376faa7f33a943cac7d40bff1531a | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Sun Feb 17 21:29:08 2008 +0000 |
committer | Owen Anderson <resistor@mac.com> | Sun Feb 17 21:29:08 2008 +0000 |
tree | 1a1a1a651e5f99a457c7c787c568e8530aecc352 | |
parent | dd12f96c5e2292e398f363cf352d6a95847a8a55 [diff] |
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