[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)
commit769e7e2f7122dc29a4400b4d4acfde858ab9fa2c
tree24b78574f29856ed4775a6ec621645aa4f225df6
parent98a341bc0cbc66a7f1456f834fea565541721087
[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

llvm-svn: 250974
llvm/include/llvm/Analysis/AliasAnalysis.h
llvm/include/llvm/IR/InstrTypes.h
llvm/test/Feature/OperandBundles/basic-aa-argmemonly.ll [new file with mode: 0644]