[llvm] 41b1669 - Fix a -Wunused-const-variable warning.
Haojian Wu via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 27 01:51:59 PDT 2022
Author: Haojian Wu
Date: 2022-10-27T10:51:28+02:00
New Revision: 41b1669ca5ef656aa32296642e408fd2eef86901
URL: https://github.com/llvm/llvm-project/commit/41b1669ca5ef656aa32296642e408fd2eef86901
DIFF: https://github.com/llvm/llvm-project/commit/41b1669ca5ef656aa32296642e408fd2eef86901.diff
LOG: Fix a -Wunused-const-variable warning.
Added:
Modified:
llvm/lib/Analysis/BasicAliasAnalysis.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/BasicAliasAnalysis.cpp b/llvm/lib/Analysis/BasicAliasAnalysis.cpp
index 19ff4ba66a95..ed800c39eb70 100644
--- a/llvm/lib/Analysis/BasicAliasAnalysis.cpp
+++ b/llvm/lib/Analysis/BasicAliasAnalysis.cpp
@@ -75,12 +75,6 @@ STATISTIC(SearchLimitReached, "Number of times the limit to "
"decompose GEPs is reached");
STATISTIC(SearchTimes, "Number of times a GEP is decomposed");
-/// Cutoff after which to stop analysing a set of phi nodes potentially involved
-/// in a cycle. Because we are analysing 'through' phi nodes, we need to be
-/// careful with value equivalence. We use reachability to make sure a value
-/// cannot be involved in a cycle.
-const unsigned MaxNumPhiBBsValueReachabilityCheck = 20;
-
// The max limit of the search depth in DecomposeGEPExpression() and
// getUnderlyingObject().
static const unsigned MaxLookupSearchDepth = 6;
More information about the llvm-commits
mailing list