[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:58:40 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG513251b76582: [InstCombine] Improve transforms for `(mul X, Y)` -> `(shl X, log2(Y)` (authored by goldstein.w.n).

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.511779.patch
Type: text/x-patch
Size: 5129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230407/6c8d31e9/attachment.bin>


More information about the llvm-commits mailing list