[PATCH] D50222: [CodeGen] [SelectionDAG] More efficient code for X % C == 0

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 3 04:14:23 PDT 2018


RKSimon added inline comments.


================
Comment at: include/llvm/CodeGen/TargetLowering.h:3502
+  SDValue BuildREMEqFold(SDNode *N, SDNode *CondNode,
+                         const APInt &Divisor, SelectionDAG &DAG,
+                         std::vector<SDNode *> &Created) const;
----------------
Please can you not include the Divisor - we are aiming for full vector support for divisions, not just splats - see D50185


Repository:
  rL LLVM

https://reviews.llvm.org/D50222





More information about the llvm-commits mailing list