[llvm] 47457c1 - [Analysis] Remove unused function createAAResultsWrapperPass
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 10 13:51:45 PDT 2023
Author: Kazu Hirata
Date: 2023-06-10T13:51:34-07:00
New Revision: 47457c17136ddff200b1791b35c5d4f9043a711a
URL: https://github.com/llvm/llvm-project/commit/47457c17136ddff200b1791b35c5d4f9043a711a
DIFF: https://github.com/llvm/llvm-project/commit/47457c17136ddff200b1791b35c5d4f9043a711a.diff
LOG: [Analysis] Remove unused function createAAResultsWrapperPass
The last use was removed by:
commit 934c82d31801e65aa3bbe99a0e64f903621c2e04
Author: Florian Hahn <flo at fhahn.com>
Date: Fri Feb 24 13:39:32 2023 +0100
Added:
Modified:
llvm/include/llvm/Analysis/AliasAnalysis.h
llvm/lib/Analysis/AliasAnalysis.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/AliasAnalysis.h b/llvm/include/llvm/Analysis/AliasAnalysis.h
index 0b0c4b40ae2bd..fdf7a1f4c78f9 100644
--- a/llvm/include/llvm/Analysis/AliasAnalysis.h
+++ b/llvm/include/llvm/Analysis/AliasAnalysis.h
@@ -973,8 +973,6 @@ struct ExternalAAWrapperPass : ImmutablePass {
}
};
-FunctionPass *createAAResultsWrapperPass();
-
/// A wrapper pass around a callback which can be used to populate the
/// AAResults in the AAResultsWrapperPass from an external AA.
///
diff --git a/llvm/lib/Analysis/AliasAnalysis.cpp b/llvm/lib/Analysis/AliasAnalysis.cpp
index de613406941c1..a5338afee85b1 100644
--- a/llvm/lib/Analysis/AliasAnalysis.cpp
+++ b/llvm/lib/Analysis/AliasAnalysis.cpp
@@ -768,10 +768,6 @@ INITIALIZE_PASS_DEPENDENCY(TypeBasedAAWrapperPass)
INITIALIZE_PASS_END(AAResultsWrapperPass, "aa",
"Function Alias Analysis Results", false, true)
-FunctionPass *llvm::createAAResultsWrapperPass() {
- return new AAResultsWrapperPass();
-}
-
/// Run the wrapper pass to rebuild an aggregation over known AA passes.
///
/// This is the legacy pass manager's interface to the new-style AA results
More information about the llvm-commits
mailing list