Skip to content

Commit 5940fcc

Browse files
committed
Update SILArgument alias analysis to make use of the new alias() interface
1 parent 81ebb56 commit 5940fcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SILAnalysis/AliasAnalysis.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,8 @@ AliasAnalysis::handleMultiUnderlyingObjectAlias(SILValue V1, SILValue V2) {
623623
// Return MayAlias if any pair does not have a NoAlias relation.
624624
for (auto &M : V1Base) {
625625
for (auto &N : V2Base) {
626-
AliasAnalysis::AliasResult R = alias(M, N, findTypedAccessType(M),
627-
findTypedAccessType(N));
626+
AliasAnalysis::AliasResult R = aliasInner(M, N, findTypedAccessType(M),
627+
findTypedAccessType(N));
628628
// Return MayAlias whenever we have 1 non-NoAlias pair. This is a
629629
// tradeoff between compilation time and being conservative.
630630
if (R != AliasResult::NoAlias)

0 commit comments

Comments
 (0)