Skip to content

Commit fd88987

Browse files
committed
Update comment
1 parent b950df7 commit fd88987

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

llvm/include/llvm/Analysis/AliasAnalysis.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,10 +1013,15 @@ struct ExternalAAWrapperPass : ImmutablePass {
10131013

10141014
explicit ExternalAAWrapperPass(CallbackT CB);
10151015

1016-
/// Returns whether this external AA should run before Basic AA.
1016+
/// Flag indicating whether this external AA should run before Basic AA.
10171017
///
1018-
/// By default, external AA passes are run after Basic AA. If this returns
1019-
/// true, the external AA will be run before Basic AA during alias analysis.
1018+
/// This flag is for LegacyPassManager only. To run an external AA early
1019+
/// with the NewPassManager, override the registerEarlyDefaultAliasAnalyses
1020+
/// method on the target machine.
1021+
///
1022+
/// By default, external AA passes are run after Basic AA. If this flag is
1023+
/// set to true, the external AA will be run before Basic AA during alias
1024+
/// analysis.
10201025
///
10211026
/// For some targets, we prefer to run the external AA early to improve
10221027
/// compile time as it has more target-specific information. This is

0 commit comments

Comments
 (0)