[PATCH] D71568: [InstCombine] `select + mul` -> `select + shl` with power of twos.

Danila Kutenin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 17:09:23 PST 2019


danlark updated this revision to Diff 234416.
danlark marked 6 inline comments as done.
danlark added a comment.

Fix overflow in shifting and further propagation


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71568

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71568.234416.patch
Type: text/x-patch
Size: 16139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191218/22593bdb/attachment.bin>


More information about the llvm-commits mailing list