Skip to content

Commit 44ddc5b

Browse files
committed
Improve comments in alias analysis
1 parent 8ab1e2d commit 44ddc5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/swift/SILAnalysis/AliasAnalysis.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ class AliasAnalysis : public SILAnalysis {
7070

7171
SideEffectAnalysis *getSideEffectAnalysis() const { return SEA; }
7272

73-
/// Perform alias analysis on SILValues with multiple underlying objects.
73+
/// Perform alias queries to see if \p V1, \p V2 can refer to the same value.
74+
/// \p V1 and \p V2 may be SILValues with multiple underlying objects. e.g.
75+
/// SILArgument. \returns MayAlias or NoAlias.
7476
AliasResult handleMultiUnderlyingObjectAlias(SILValue V1, SILValue V2);
7577

7678
/// Perform an alias query to see if V1, V2 refer to the same values.

0 commit comments

Comments
 (0)