[llvm] ValueTracking: simplify udiv/urem recurrences (PR #108973)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 11:24:06 PDT 2024


================
@@ -8997,12 +9012,14 @@ bool llvm::matchSimpleRecurrence(const PHINode *P, BinaryOperator *&BO,
     switch (Opcode) {
     default:
       continue;
-    // TODO: Expand list -- xor, div, gep, uaddo, etc..
+    // TODO: Expand list -- sdiv, srem, fadd etc.
----------------
goldsteinn wrote:

why remove the `xor` and `gep` and `uaddo` todos

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


More information about the llvm-commits mailing list