[llvm] [ValueTracking] isNonZero sub of ptr2int's with recursive GEP (PR #68680)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 18 07:11:43 PST 2023
================
@@ -2365,9 +2365,69 @@ static bool isNonZeroAdd(const APInt &DemandedElts, unsigned Depth,
.isNonZero();
}
+// Check to see if A is both a GEP and is the incoming value for a PHI in the
----------------
bipmis wrote:
Agreed. This is a good improvement. Thanks for the suggestion.
https://github.com/llvm/llvm-project/pull/68680
More information about the llvm-commits
mailing list