commit | 0cacb9ef06ca2ddc111163d6c7cd17e6f74b7853 | [log] [tgz] |
---|---|---|
author | Igor Laevsky <igmyrj@gmail.com> | Wed Oct 28 16:42:00 2015 +0000 |
committer | Igor Laevsky <igmyrj@gmail.com> | Wed Oct 28 16:42:00 2015 +0000 |
tree | 2f71ba953c5537d5bc45687d2728aef47d209607 | |
parent | e34d8ee22c5e21ef3560998416741ede19958fd9 [diff] |
[AliasAnalysis] Take into account readonly attribute for the function arguments In getArgModRefInfo we consider all arguments as having MRI_ModRef. However for arguments marked with readonly attribute we can return more precise answer - MRI_Ref. Differential Revision: http://reviews.llvm.org/D13992 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251525 91177308-0d34-0410-b5e6-96231b3b80d8