[PATCH] D146347: [InstCombine] Improve transforms for `(mul X, Y)` -> `(shl X, log2(Y)`

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 7 12:34:13 PDT 2023


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

Rebase


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146347

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146347.511774.patch
Type: text/x-patch
Size: 5129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230407/1ca2aa70/attachment.bin>


More information about the llvm-commits mailing list