[OperandBundles] Teach AliasAnalysis about operand bundles
authorSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 22 Oct 2015 03:12:51 +0000 (03:12 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 22 Oct 2015 03:12:51 +0000 (03:12 +0000)
commitd53277a4349d301db7689b490a6a3d4512a746ce
treeadb809b35d1de037a4b2715055a54655151d667c
parentf1c277c27096a55a1ab2220294a69457d0951bf7
[OperandBundles] Teach AliasAnalysis about operand bundles

Summary:
If a `CallSite` has operand bundles, then do not peek into the called
function to get a more precise `ModRef` answer.

This is tested using `argmemonly`, `-basicaa` and `-gvn`; but the
functionality is not specific to any of these.

Depends on D13961

Reviewers: reames, chandlerc

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250974 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/AliasAnalysis.h
include/llvm/IR/InstrTypes.h
test/Feature/OperandBundles/basic-aa-argmemonly.ll [new file with mode: 0644]