[llvm] [ValueTracking] Handle recursive select/PHI in ComputeKnownBits (PR #114689)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 3 07:06:01 PST 2024
================
@@ -580,6 +580,43 @@ static bool cmpExcludesZero(CmpInst::Predicate Pred, const Value *RHS) {
return true;
}
+static void breakSelfRecursivePHI(const Use *U, const PHINode *PHI,
+ Value *&ValOut, Instruction *&CtxIOut,
----------------
goldsteinn wrote:
Although this seems aligned with how we do output variables for other helpers.
https://github.com/llvm/llvm-project/pull/114689
More information about the llvm-commits
mailing list