Revert "GlobalsAA: Take advantage of ArgMemOnly, InaccessibleMemOnly and Inaccessible...
authorAmaury Sechet <deadalnix@gmail.com>
Wed, 6 Jan 2016 13:23:52 +0000 (13:23 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Wed, 6 Jan 2016 13:23:52 +0000 (13:23 +0000)
commitc9f1b312c490bb182838413dc9a3dbd105b570c0
tree138a218d09271b64d706119c61eda403e9248a8c
parentcfa9b54c86ac7eca6718e94ef52d9834cc361b5b
Revert "GlobalsAA: Take advantage of ArgMemOnly, InaccessibleMemOnly and InaccessibleMemOrArgMemOnly attributes"

Summary:
This reverts commit 5a9e526f29cf8510ab5c3d566fbdcf47ac24e1e9.

As per discussion in D15665

This also add a test case so that regression introduced by that diff are not reintroduced.

Reviewers: vaivaswatha, jmolloy, hfinkel, reames

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D15919

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256932 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/GlobalsModRef.cpp
test/Analysis/GlobalsModRef/argmemonly-escape.ll [deleted file]
test/Analysis/GlobalsModRef/inaccessiblememonly.ll [new file with mode: 0644]
test/Analysis/GlobalsModRef/modreftest.ll