[PATCH] D85092: [InstSimplify] Peephole optimization for icmp (urem X, Y), X

Dániel Buga via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 2 07:12:50 PDT 2020


bugadani added a comment.

I think it's also possible to apply the same logic to both `X % Y <= Y` and `X % Y <= X`


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

https://reviews.llvm.org/D85092



More information about the llvm-commits mailing list