[PATCH] D148609: [InstCombine] Fix buggy `(mul X, Y)` -> `(shl X, Log2(Y))` transform PR62175
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 18 13:09:37 PDT 2023
goldstein.w.n updated this revision to Diff 514722.
goldstein.w.n marked an inline comment as done.
goldstein.w.n added a comment.
Fix bug in umin/umax case
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148609/new/
https://reviews.llvm.org/D148609
Files:
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/test/Transforms/InstCombine/div-shift.ll
llvm/test/Transforms/InstCombine/mul-pow2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148609.514722.patch
Type: text/x-patch
Size: 8073 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/a304c9e5/attachment.bin>
More information about the llvm-commits
mailing list