Fix a -Wunused-const-variable warning.
authorHaojian Wu <hokein.wu@gmail.com>
Thu, 27 Oct 2022 08:50:29 +0000 (10:50 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Thu, 27 Oct 2022 08:51:28 +0000 (10:51 +0200)
llvm/lib/Analysis/BasicAliasAnalysis.cpp

index 19ff4ba..ed800c3 100644 (file)
@@ -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;