[llvm] [SCEV] Remove unused MaxPhiSCCAnalysisSize option (NFC) (PR #218421)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 07:14:03 PDT 2026


https://github.com/fhahn created https://github.com/llvm/llvm-project/pull/218421

The -scalar-evolution-max-scc-analysis-depth is not used, remove it.

>From e36645c9de95040a8600b58a521c62a7510eb3ad Mon Sep 17 00:00:00 2001
From: Florian Hahn <flo at fhahn.com>
Date: Sat, 22 Aug 2026 14:51:13 +0100
Subject: [PATCH] [SCEV] Remove unused MaxPhiSCCAnalysisSize option (NFC)

The -scalar-evolution-max-scc-analysis-depth is not used, remove it.
---
 llvm/lib/Analysis/ScalarEvolution.cpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 2be8495c164fc..1f458d14782ba 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -238,12 +238,6 @@ static cl::opt<bool> UseExpensiveRangeSharpening(
     cl::desc("Use more powerful methods of sharpening expression ranges. May "
              "be costly in terms of compile time"));
 
-static cl::opt<unsigned> MaxPhiSCCAnalysisSize(
-    "scalar-evolution-max-scc-analysis-depth", cl::Hidden,
-    cl::desc("Maximum amount of nodes to process while searching SCEVUnknown "
-             "Phi strongly connected components"),
-    cl::init(8));
-
 static cl::opt<bool>
     EnableFiniteLoopControl("scalar-evolution-finite-loop", cl::Hidden,
                             cl::desc("Handle <= and >= in finite loops"),



More information about the llvm-commits mailing list