From 41b1669ca5ef656aa32296642e408fd2eef86901 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Thu, 27 Oct 2022 10:50:29 +0200 Subject: [PATCH] Fix a -Wunused-const-variable warning. --- llvm/lib/Analysis/BasicAliasAnalysis.cpp | 6 ------ 1 file changed, 6 deletions(-) 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; -- 2.7.4