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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 03:04:40 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;
----------------
fhahn wrote:

I could rename it as NFC after the change lands?

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


More information about the llvm-commits mailing list