[llvm] [ValueTracking] Make the MaxAnalysisRecursionDepth overridable (PR #137721)
Jeffrey Byrnes via llvm-commits
llvm-commits at lists.llvm.org
Mon May 5 16:40:06 PDT 2025
jrbyrnes wrote:
To suppoort the request:
> should be a local pass parameter if configurable
I am thinking to change the computeKnownBits methods to provide an override flag.
By doing so, I think we can also address
> the depth limit is also load bearing to avoid infinite recursion for unreachable IR that contains cycles
I think the infinite recursion can only be triggered through PHINodes / calls .. so we can just pessimistically never override the depth limit for these cases.
https://github.com/llvm/llvm-project/pull/137721
More information about the llvm-commits
mailing list