[llvm] 519749a - [SCEV] Remove unused MaxPhiSCCAnalysisSize option (NFC) (#218421)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 08:01:41 PDT 2026


Author: Florian Hahn
Date: 2026-08-24T15:01:36Z
New Revision: 519749a2e71945700d3b21e8594539a6046624b5

URL: https://github.com/llvm/llvm-project/commit/519749a2e71945700d3b21e8594539a6046624b5
DIFF: https://github.com/llvm/llvm-project/commit/519749a2e71945700d3b21e8594539a6046624b5.diff

LOG: [SCEV] Remove unused MaxPhiSCCAnalysisSize option (NFC) (#218421)

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

Added: 
    

Modified: 
    llvm/lib/Analysis/ScalarEvolution.cpp

Removed: 
    


################################################################################
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