From: Haojian Wu Date: Thu, 27 Oct 2022 08:50:29 +0000 (+0200) Subject: Fix a -Wunused-const-variable warning. X-Git-Tag: upstream/17.0.6~29353 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41b1669ca5ef656aa32296642e408fd2eef86901;p=platform%2Fupstream%2Fllvm.git Fix a -Wunused-const-variable warning. --- diff --git a/llvm/lib/Analysis/BasicAliasAnalysis.cpp b/llvm/lib/Analysis/BasicAliasAnalysis.cpp index 19ff4ba..ed800c3 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;