[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
Sat Mar 18 14:00:10 PDT 2023


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

Propegate nuw flag


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.506328.patch
Type: text/x-patch
Size: 5040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230318/b5a25635/attachment.bin>


More information about the llvm-commits mailing list