[PATCH] D79369: [InstCombine] "X - (X / C) * C == 0" to "X & C-1 == 0"

Egor Bogatov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 10:14:24 PDT 2020


EgorBo updated this revision to Diff 262685.
EgorBo marked an inline comment as done.
EgorBo added a comment.

Add more tests (undef, negative, non-splat vectors)


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

https://reviews.llvm.org/D79369

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/test/Transforms/InstCombine/add-shl-sdiv-to-srem.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79369.262685.patch
Type: text/x-patch
Size: 9411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200507/d8ed1751/attachment.bin>


More information about the llvm-commits mailing list