[llvm] [ValueTracking] Suport GEPs in matchSimpleRecurrence. (PR #123518)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 14:20:50 PST 2025


================
@@ -1489,7 +1489,7 @@ static void computeKnownBitsFromOperator(const Operator *I,
   }
   case Instruction::PHI: {
     const PHINode *P = cast<PHINode>(I);
-    BinaryOperator *BO = nullptr;
+    Instruction *BO = nullptr;
----------------
goldsteinn wrote:

I think BO should be renamed.

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


More information about the llvm-commits mailing list