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

Danila Kutenin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 30 08:22:52 PST 2019


danlark updated this revision to Diff 235604.
danlark marked 3 inline comments as done.
danlark added a comment.

Fix asserts


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.235604.patch
Type: text/x-patch
Size: 17019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191230/a0b7226b/attachment.bin>


More information about the llvm-commits mailing list