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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 4 21:54:10 PDT 2025


================
@@ -155,6 +154,16 @@ void llvm::computeKnownBits(const Value *V, KnownBits &Known,
                    Depth);
 }
 
+void llvm::computeKnownBitsExhaustive(const Value *V, KnownBits &Known,
+                                      const DataLayout &DL, AssumptionCache *AC,
+                                      const Instruction *CxtI,
+                                      const DominatorTree *DT,
+                                      bool UseInstrInfo) {
+  DepthLimit::setOverrideDepthLimit();
----------------
arsenm wrote:

This shouldn't be some side-effecting state 

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


More information about the llvm-commits mailing list