[llvm] f3cbe60 - [AAEval] Remove unused function (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 16 02:25:52 PDT 2022
Author: Nikita Popov
Date: 2022-03-16T10:25:45+01:00
New Revision: f3cbe60aa9628ef9b210af8a74b8fd3de3dfd972
URL: https://github.com/llvm/llvm-project/commit/f3cbe60aa9628ef9b210af8a74b8fd3de3dfd972
DIFF: https://github.com/llvm/llvm-project/commit/f3cbe60aa9628ef9b210af8a74b8fd3de3dfd972.diff
LOG: [AAEval] Remove unused function (NFC)
Added:
Modified:
llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/AliasAnalysisEvaluator.cpp b/llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
index 7ba6320687995..3855124de452b 100644
--- a/llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
+++ b/llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
@@ -100,11 +100,6 @@ static inline void PrintLoadStoreResults(AliasResult AR, bool P,
}
}
-static inline bool isInterestingPointer(Value *V) {
- return V->getType()->isPointerTy()
- && !isa<ConstantPointerNull>(V);
-}
-
PreservedAnalyses AAEvaluator::run(Function &F, FunctionAnalysisManager &AM) {
runInternal(F, AM.getResult<AAManager>(F));
return PreservedAnalyses::all();
More information about the llvm-commits
mailing list