[PATCH] D34598: ScalarEvolution: Add URem support

Alexandre Isoard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 11:38:49 PDT 2017


alexandre.isoard added inline comments.


================
Comment at: lib/Analysis/ScalarEvolution.cpp:2947
+    if (RHSC->getValue()->equalsInt(1))
+      return LHS;                               // X urem 1 --> X
+
----------------
efriedma wrote:
> "X urem 1 --> X"????
End here I was thinking I revolutionized all modern cryptography.


https://reviews.llvm.org/D34598





More information about the llvm-commits mailing list