[PATCH] D65366: [CodeGen][SelectionDAG] More efficient code for X % C == 0 (SREM case)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 27 07:20:05 PDT 2019


RKSimon added inline comments.


================
Comment at: llvm/include/llvm/ADT/APInt.h:1476
+    *this &= Mask;
+  }
+
----------------
Pull this out and add a unit test? Ideally this could be optimized a lot more.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65366/new/

https://reviews.llvm.org/D65366





More information about the llvm-commits mailing list