[PATCH] D93980: [NFC] Rename registerAliasAnalyses -> registerDefaultAliasAnalyses
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 2 19:33:20 PST 2021
aeubanks created this revision.
aeubanks added reviewers: ychen, asbirlea, rnk.
Herald added a subscriber: hiraditya.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
To clarify that this only affects the "default" AA.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93980
Files:
llvm/include/llvm/Passes/PassBuilder.h
llvm/include/llvm/Target/TargetMachine.h
llvm/lib/Passes/PassBuilder.cpp
Index: llvm/lib/Passes/PassBuilder.cpp
===================================================================
--- llvm/lib/Passes/PassBuilder.cpp
+++ llvm/lib/Passes/PassBuilder.cpp
@@ -1896,7 +1896,7 @@
// Add target-specific alias analyses.
if (TM)
- TM->registerAliasAnalyses(AA);
+ TM->registerDefaultAliasAnalyses(AA);
return AA;
}
Index: llvm/include/llvm/Target/TargetMachine.h
===================================================================
--- llvm/include/llvm/Target/TargetMachine.h
+++ llvm/include/llvm/Target/TargetMachine.h
@@ -335,7 +335,7 @@
/// Allow the target to register alias analyses with the AAManager for use
/// with the new pass manager. Only affects the "default" AAManager.
- virtual void registerAliasAnalyses(AAManager &) {}
+ virtual void registerDefaultAliasAnalyses(AAManager &) {}
/// Add passes to the specified pass manager to get the specified file
/// emitted. Typically this will involve several steps of code generation.
Index: llvm/include/llvm/Passes/PassBuilder.h
===================================================================
--- llvm/include/llvm/Passes/PassBuilder.h
+++ llvm/include/llvm/Passes/PassBuilder.h
@@ -465,7 +465,7 @@
/// registered.
///
/// This also adds target-specific alias analyses registered via
- /// TargetMachine::registerAliasAnalyses().
+ /// TargetMachine::registerDefaultAliasAnalyses().
AAManager buildDefaultAAPipeline();
/// Parse a textual pass pipeline description into a \c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93980.314264.patch
Type: text/x-patch
Size: 1517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210103/bc4744f9/attachment.bin>
More information about the llvm-commits
mailing list