[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
Wed Jun 10 12:47:14 PDT 2020


EgorBo updated this revision to Diff 269944.
EgorBo added a comment.

@lebedev.ri I am so sorry for this huge delay, totally forgot about this pr and broke my notifications, I promise I'll respond without delays in future :-) Addressed your feedback I beleive.


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.269944.patch
Type: text/x-patch
Size: 9334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200610/0ff04b43/attachment.bin>


More information about the llvm-commits mailing list