[PATCH] D115173: [InstCombine] try to fold rem with constant dividend and select-of-constants divisor

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 7 11:06:02 PST 2021


spatel added a comment.

Note: I drafted the equivalent patch for div opcodes, and it's exactly the same code/tests with `s/rem/div/`. No existing regression tests are affected.


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

https://reviews.llvm.org/D115173



More information about the llvm-commits mailing list