[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
Mon Feb 6 09:50:28 PST 2023


goldstein.w.n updated this revision to Diff 495188.
goldstein.w.n marked an inline comment as done.
goldstein.w.n added a comment.

Move to helper, split generic case


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/urem-mul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143014.495188.patch
Type: text/x-patch
Size: 9645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230206/25f8e760/attachment.bin>


More information about the llvm-commits mailing list