[PATCH] D143014: [InstCombine] Add combines for `(urem/srem (mul/shl X, Y), (mul/shl X, Z))`

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 15:29:10 PST 2023


goldstein.w.n updated this revision to Diff 498173.
goldstein.w.n added a comment.

Split of shift code + fix some nits


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143014

Files:
  llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  llvm/test/Transforms/InstCombine/rem-mul-shl.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143014.498173.patch
Type: text/x-patch
Size: 8538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230216/1ef0d8c1/attachment.bin>


More information about the llvm-commits mailing list