[PATCH] D24527: [InstCombine] fold X urem C -> X < C ? X : X - C when C is big (PR28672)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 16:14:14 PDT 2016


efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.

Looks fine to me.  It makes sense to prefer select as the canonical form.


https://reviews.llvm.org/D24527





More information about the llvm-commits mailing list