[llvm] [ValueTracking] isNonZero sub of ptr2int's with recursive GEP (PR #68680)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 13:36:23 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
----------------
nikic wrote:

Can you please pre-commit the move of this function?

https://github.com/llvm/llvm-project/pull/68680


More information about the llvm-commits mailing list