forked from OSchip/llvm-project
[AA] Add missing AAQI parameter
This alias() call did not pass on the AAQueryInfo.
This commit is contained in:
parent
7fa8b62920
commit
3b7f84d97f
|
@ -214,7 +214,7 @@ ModRefInfo AAResults::getModRefInfo(const CallBase *Call,
|
|||
unsigned ArgIdx = std::distance(Call->arg_begin(), AI);
|
||||
MemoryLocation ArgLoc =
|
||||
MemoryLocation::getForArgument(Call, ArgIdx, TLI);
|
||||
AliasResult ArgAlias = alias(ArgLoc, Loc);
|
||||
AliasResult ArgAlias = alias(ArgLoc, Loc, AAQI);
|
||||
if (ArgAlias != NoAlias) {
|
||||
ModRefInfo ArgMask = getArgModRefInfo(Call, ArgIdx);
|
||||
AllArgsMask = unionModRef(AllArgsMask, ArgMask);
|
||||
|
|
Loading…
Reference in New Issue