[llvm] [ValueTracking] Handle recursive select/PHI in ComputeKnownBits/IsKnownNonZero (PR #114689)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 3 00:24:58 PDT 2024
================
@@ -1580,14 +1582,22 @@ static void computeKnownBitsFromOperator(const Operator *I,
: SI->getTrueValue();
IncDepth = Depth + 1;
}
+ } else if (auto *IncPhi = dyn_cast<PHINode>(IncValue);
----------------
goldsteinn wrote:
I was thinking the same thing. Ill update.
https://github.com/llvm/llvm-project/pull/114689
More information about the llvm-commits
mailing list