[llvm] [ValueTracking] Make the MaxAnalysisRecursionDepth overridable (PR #137721)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 29 05:00:32 PDT 2025


================
@@ -88,6 +88,8 @@ using namespace llvm::PatternMatch;
 static cl::opt<unsigned> DomConditionsMaxUses("dom-conditions-max-uses",
                                               cl::Hidden, cl::init(20));
 
+static cl::opt<bool> ExhaustiveRecursion("exhaustive-analysis-recursion",
+                                         cl::Hidden);
----------------
arsenm wrote:

Should not be a cl::opt, should be a local pass parameter if configurable 

https://github.com/llvm/llvm-project/pull/137721


More information about the llvm-commits mailing list