[AliasSetTracker] Use mod/ref information for UnknownInstr
authorHal Finkel <hfinkel@anl.gov>
Tue, 27 Oct 2015 20:37:04 +0000 (20:37 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 27 Oct 2015 20:37:04 +0000 (20:37 +0000)
commitb741ea5c1725abbc70bf5a2a689be86a64f0791f
tree5c8451e05552b87d00625083f871914e16b677bb
parent6f6bce9783015e86cce87cbdb66c243bb0c0b8f9
[AliasSetTracker] Use mod/ref information for UnknownInstr

AliasSetTracker does not need to convert the access mode to ModRefAccess if the
new visited UnknownInst has only 'REF' modrefinfo to existing pointers in the
sets.

Patch by Andrew Zhogin!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251451 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/AliasSetTracker.h
lib/Analysis/AliasSetTracker.cpp
test/Transforms/LICM/licm_call_referenced_ptr.ll [new file with mode: 0644]