[llvm] [ValueTracking] Fix KnownBits conflict for calls (range vs returned) (PR #84353)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 10:15:28 PST 2024
================
@@ -1476,6 +1476,12 @@ static void computeKnownBitsFromOperator(const Operator *I,
if (RV->getType() == I->getType()) {
computeKnownBits(RV, Known2, Depth + 1, Q);
Known = Known.unionWith(Known2);
----------------
goldsteinn wrote:
should this not be just intersectWith?
https://github.com/llvm/llvm-project/pull/84353
More information about the llvm-commits
mailing list